[bedevtalk] BONE socket behaviour
Axel Dörfler
axeld at pinc-software.de
Thu Apr 26 02:48:39 EDT 2007
pete at jwgibbs.cchem.berkeley.edu wrote:
> I get a "Protocol Not supported" error when it tries to open a basic
> TCP socket, and I can't understand why. I put in telltale printouts,
> and it's calling BONE's "socket()" as "fd = socket(1, 1, 6)", and I
> checked these values against the header. They are appropriately
> "domain"="AF_INET", "type"="SOCK_STREAM", and "proto"="IPPROTO_TCP",
> which would seem exactly right. But 'fd' comes back '-1' and errno
> is the above.
Are you sure you're linking against libbind.so and libsocket.so instead
of libnet.so? The latter tries to provide compatibility with R5 (which
had different definitions).
Bye,
Axel.
More information about the bedevtalk
mailing list