Narendran K <mayavi.mayavi@...> writes:

> 1. What happens the other packet??
It sits in the buffer till you read (and thus remove) it from the buffer. Note 
that even if you send only one packet, it's possible that the recipient gets 
dupes.

> 2. Is there a way to know the number of packet in the socket's receive
> queue?
socket.select() is the answer to this. See this stackoverflow q&a: 
http://stackoverflow.com/questions/1803215/how-can-i-tell-if-a-socket-buffer-
is-full

-Vijay
http://vijay.axham.com
http://axhamgames.com




_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to