Boost logo

Boost Users :

Subject: [Boost-users] [Asio] How can you detect port collsions?
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-07-24 05:53:19


Hi All

Thanks to those of you who have answered my previous asio queries - I'm
gradually
gaining on the problems!

I am allocating port numbers on tcp connections dynamically, and must
allocate
and reserve the port number without blocking. I also have multiple instances
of
the process which needs to do this, and I'm plagued by port collisions.

How do I detect, and avoid, port number collsions?

Thanks, Rob.



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