Hello,

I UDP sendto a request datagram to the server,
when OnDataAvailable triggers I call ReceiveFrom()
in order to read the response.
But I think OnDataAvailable is being triggered when
any datagram addressed to that port arrives, even
datagrams not sent by the destination server. How
to handle this situation when some data arrive from
and unexpected sender? Should I consider a pending
request as failed or should I just ignore such packets?

Also, if I do not use some kind of a wait function
in order to make a request blocking (like WaitUntilReady),
it's mandatory to use a timer, correct? 

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to