December 23rd, 2010, 08:07 AM
TCP simultaneous open
I am TCP simultaneous open.I have two client application. Each client opens two socket
1. Listening Socket used in listen ()
2. Connection Socket used in connect()
I tried binding these socket at same address using setsockopt but wg it shows error address in use 10048 when i call connect().
I wanted to know whether it is possible to bind a listening socket(listen()) with connection socket
note:i am implementing TCP hole punching where it is mandatory to bind the local address with both socket.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!