Hi,
Attached is a test program showing a few quirks with the ext_socket api.
(1) Doing a socket/listen/getsockname [without a bind] the getsockname
fails.
After adding in bind()s to get the program creating associations:
(2) Closing a listen()ing socket seemed to cause problems for sockets
accepted on it.
(3) Doing a shutdown(SHUT_WR) on one end of a connection seemed to cause
a read() on the other end to hang. [It never got as far as testing
poll()...]
Ralph.
On Solaris 10 kernel, the program runs perfectly, it runs OK on Linux
kernel but shows a couple of poll() oddities, on the ext_socket api it
fails pretty badly :-(
<sctp_de_test.cc>
Archive powered by MHonArc 2.6.19+.