hi all, i'm now confusing with how to detect if a udp port of a remote server is open or not open .

i can ping the server to find out wether it is offline using IcmpSendEcho().

but ,the port, how can i get the status of the port?

help me plz , thx in advance