Boost logo

Boost Users :

Subject: Re: [Boost-users] Bind to first available port
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-10-31 04:21:51


Mathew Benson wrote:
>
> How do I read out what port was assigned?
>

By using socket.local_endpoint.port()

Cheers,

Rutger


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