What happens with TCP packets between 2 Socket.BeginReceive Call??

Posted by Rodrigo on Stack Overflow See other posts from Stack Overflow or by Rodrigo
Published on 2010-04-08T03:59:57Z Indexed on 2010/04/08 4:03 UTC
Read the original article Hit count: 324

Filed under:
|
|
|
|

Hi, i have a doubt about Socket Programming, i am developing a TCP packets Sniffer, i am using Socket.BeginAccept, Socket.BeginReceive to capture every packet, but when a packet is received i have to process something, it is a fast operation, but would take some milliseconds, and then call the BeginReceive again.

My question is, what would happen if some packets are sent while i am processing, and havent called BeginReceive??...are lost?...are buffered internally?...is there a limit?...

Thanks in advance.

© Stack Overflow or respective owner

Related posts about sockets

Related posts about c#