posted 17 years ago
HI,
I am trying to write a simple client server program, both the client and server program resides on the same local machine .
while creating a socket i dont know which port to mention
syntax
public Socket(InetAddress,int port)
How can i know which ports i can use .
i am working on my personal system so there is no question of admin problem
or restrictions