sockets

Aug 19 2004 1:51 AM
hi .. i have to write a c# code which will connect to a server (unix machine), and look whether a program (given as parameter) is running there or not.. i can connect to the server by giving its ip,but i dont have any idea about what port i should use, since i wont be writing any code for the server machine. does anyone have an idea??