Hello There,

I have a client server application to develop.The Communication will use TCP.

In this :

The Client will know only the port to connect for a TCP connection.
It will not know the address of the server. in that case how will i find the address of the server.

I tried broadcasting a message and getting the peer address from the client side,
but its not working.

the server cannot broadcast.

so can anyone please suggest a solution!

Thanks in advance.