binding sockets

Larry Wall lwall at jpl-devvax.JPL.NASA.GOV
Sat Sep 15 06:54:15 AEST 1990


In article <ERAN.90Sep14115242 at elaine7.stanford.edu> eran at elaine7.stanford.edu (eran yehudai) writes:
: I am trying to use bind() to create an entry in the file system for a
: socket. I find that a socket special file is created, but its name is
: only composed of the first two letters of the name I pass the system.
: The same phenomena occurs on both DEC3100 and a NeXT. Any ideas?

I suspect you're calling bind with two arguments instead of three, and
the stack garbage happens to have a value of 2.

Larry Wall
lwall at jpl-devvax.jpl.nasa.gov



More information about the Comp.unix.programmer mailing list