Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question About Unix multiples socket


    I have question about the UNIX sockets.
    my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not.

    Do you have any suggestion or an example of code?

    Thank you in advance,


  2. #2
    Just Joined!
    Join Date
    Nov 2006
    Harrisburg, PA, USA
    It is possible. You need to call 'connect' system call the number of times you would like to have connections to server. This will establish multiple connections to server unless your server is capable of handling multiple socket connections from the same client.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts