asio-asio

Reusing a port number in a UDP

In ASIO, s it possible to create another socket that has the same source port as another socket? My UDP server application is calling receive_from using port 3000. It passes the packet off to a worker thread which will send the response (currently using a dynamic source port). The socket in the other thread is created like this: udp:...