Multiple sockets with same port

Joined
Oct 25, 2005
Messages
1
Reaction score
0
Hi,
Can I bind multiple sockets with the same port, for different threads?
I have a client which has been assigned a port. I will have multiple threads for this client, each initiating connection with different hosts. Hence I need multiple sockets to bind with the same port.

Can I simply use setreuseaddress() or is there any other method???


Thank you.
 
Back
Top