[ofa-general] sdp and port 0

Stijn De Weirdt stijn.deweirdt at ugent.be
Tue May 18 03:18:41 PDT 2010


hi all,

(i'm not on the list, please keep me in cc)

i am trying SDP with some executable (i don't have the source), but i'm
getting errors with the bind step (output from strace):

bind(20, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already in
use)

is it possible that a bind to port 0 (ie ask system for free port) is
not supported with libsdp?

using 'both' as addressfamily in the configfile instead of 'sdp' works
but the tcp is used.
i also tried to add a portrange to avoid port 0 with sdp (ie tcp for
port 0, sdp for the rest), but this doesn't work either (which is not
that surprising).


thanks a lot,

stijn
-- 
http://hasthelhcdestroyedtheearth.com/





More information about the general mailing list