Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Stijn De Weirdt <stijn.deweirdt-Cru1EgDzd7c@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: sdp and port 0
Date: Tue, 18 May 2010 12:20:31 +0200	[thread overview]
Message-ID: <1274178031.6513.22.camel@spike.ugent.be> (raw)

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/



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2010-05-18 10:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 10:20 Stijn De Weirdt [this message]
     [not found] ` <1274178031.6513.22.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>
2010-05-25  8:34   ` sdp and port 0 Amir Vadai
     [not found]     ` <4BFB8B8A.6080205-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
2010-05-25  9:04       ` Andrea Gozzelino
     [not found]         ` <803144.1274778246034.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org>
2010-05-25  9:49           ` Stijn De Weirdt
2010-05-25  9:44       ` Stijn De Weirdt
     [not found]         ` <1274780656.3097.16.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>
2010-05-25 10:08           ` Amir Vadai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1274178031.6513.22.camel@spike.ugent.be \
    --to=stijn.deweirdt-cru1egdzd7c@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox