Is there a way to make two connect() calls attempting to establish two TCP connections with two distinct servers, and only keep one that was connected first while aborting or closing the second one? I tried using epoll with two nonblocking sockets, but only first one connects.
Aucun commentaire:
Enregistrer un commentaire