[openib-general] Re: Re: [PATCH] CMA: allow/require bind beforeconnect
Michael S. Tsirkin
mst at mellanox.co.il
Wed Mar 29 12:36:01 PST 2006
Quoting r. Sean Hefty <sean.hefty at intel.com>:
> My assumption is that if you bind to 127.0.0.1, then any connection must be to a
> local address.
My bad. I was actually doing bind to local IP 0 with non-zero local port.
Then I connect and the remote side should get this local port number in hello
message and user will see it when he does getpeername.
--
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
More information about the general
mailing list