I am trying to figure out a way to determine if there are any sockets listing on any ports. For example, I have a server that creates a socket, before I start listing, I want to check to see if this port is already in use, are the any system call that allow me to get that information? This should be simple, but i have not been abel to figure this out.... I am using vb.net.