> On Feb 8, 2019, at 12:55 PM, Michael Wojcik <[email protected]>
> wrote:
>
> For IPv4: Create your socket, bind it to the local interface you want to use
> (specifying a port of 0 if you want an ephemeral port assigned as in the
> usual case), then connect to the peer. You'll probably want to enable
> SO_REUSEADDR on the socket before calling bind.
For the record, one should *not* use SO_REUSEADDR for client sockets used in
outbound connections.
--
Viktor.
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users