|
Boost Users : |
Subject: [Boost-users] Bind to first available port
From: Mathew Benson (mathew.benson_at_[hidden])
Date: 2009-10-30 14:55:17
I know how to do this with Windows sockets, but how do I bind a UDP listen
socket to the first available port? I want to send a packet from client to
the server to subscribe to data and tell the server what port to send the
subscribed data to. I don't care what port the client listens to. If I
hard code it, I can only run a single client on a PC. I want to bind to the
first available one so I can run as many clients on the same PC as I want.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net