Click to See Complete Forum and Search --> : Winsock


AstonK
August 4th, 2001, 12:06 AM
When I receive data at the winsock control(using the UDP Protocol) the source address is in the RemoteHostIP Propery. How do I get the source Port?

Will be greatfull for any help.

Thanks,
Aston

Cakkie
August 5th, 2001, 06:19 AM
When using UDP, the source port will be the same as the local port you are using

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook