Hello!

I would like to know if its possible to get the address that a UDP packet
comes from.

I am making an application that will send multiple packets to different
hosts using SendTo and I will be receiving replies from them.

I have no power to change the protocol, so I need to know if its possible to
find out the address each packet arrived from.

Currently, I use bytesread := sock.Receive(@data, SizeOf(data));  to receive
the data.

where sock is a TWSocket object.  sock.Addr will not work here.. :(

Thanks for taking your time,

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

Reply via email to