But I want to know is there any way to use the same socket for more than one client
more than one client can connect to a server socket(IP and port).
are you restricting your client to bind to a specific port before connecting to server?, if you are doing so; what is the reason?.
if you aren't restricting your client to bind to a specific port, then don't worry; use IO::Socket::INET and connect to the server by specifying peeraddr and peerport. it will take care of local port binding. In this case you can run multiple instances of your client to send and receive data from server(provided your server must have configured to serve that many clients).
Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.