I am making a networking application using sockets for a local area network. How can i make the client side of the application search the network for the server socket?
Right now i am getting the input from the user itself about the IP address and Port of the server.
why would you have to search the network?Each server will have its own IP and/or port and In each client application you should specify the server IP and port... and the client will then connect using the detail and throw an exception if a connection cannot be made... or maybe i misunderstood you
DavidKroukamp
Practically a Master Poster
693 posts since Dec 2011
Reputation Points: 282
Solved Threads: 169
How can i make the client side of the application search the network for the server socket?
Is that like trying to find someone's telephone number? You have to know it if you are going to call it.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656