]> git.openfabrics.org - ~shefty/rdma-win.git/commit
dapl2
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 28 Sep 2009 05:19:05 +0000 (05:19 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 28 Sep 2009 05:19:05 +0000 (05:19 +0000)
commitb360d71f1a7d8b4a34ef4a5713e47a6d6c3335c7
treee538650da9a4891dd6c300fd3c360fa96b66f758
parent9d52e9f3c25112a9d8aa5b925df270168ae1875f
dapl2
Move close socket calls to the connection thread, to prevent accessing a socket
after it has been closed.

Remove the setsockopt call to mark listen addresses as reusable.  A reusable
address allows other libraries, such as MPI, to bind to the same address.

Create all sockets as IPPROTO_TCP, rather than undefined.

Listen on a specific address, rather than any address, to prevent two listens
from occurring on the same port, but using different IP addresses.  This
prevents connections from going to the wrong process.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2472 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
branches/WOF2-1/ulp/dapl2/dapl/openib_common/dapl_ib_common.h
branches/WOF2-1/ulp/dapl2/dapl/openib_scm/cm.c