posted 18 years ago
hi
i am trying to write a peer to peer chat program. i have created a server client program that works fine but when it comes to the peer to peer program i am have a problem. i cannot find a way to connect the two clients together without having to make one use a ServerSocket so that the other one can connect to it. is there a way to just have each client with a Socket and have them connect that way or do i need to make one use a ServerSocket?
thanks