[ksh93-integration-discuss] Re: [ast-users] /dev/tcp+/dev/udp not compiled-in for Solaris ksh93r...
James Carlson
james.d.carlson at sun.com
Thu Sep 7 07:05:36 PDT 2006
Roland Mainz writes:
> Glenn Fowler wrote:
> > socket() not in libc
> > solaris is still in the 70's on this one
> > is it in -lsocket?
> [snip]
>
> Minor update (I just hit that problem again): It still doesn't work in
> ksh93r+_20060724... ;-(
It's not _exactly_ that it's in the 70's, though I agree that this
particular issue is quite annoying.
The difficulty here (in case someone feels moved to take it on) is
that there are actually two incompatible sockets libraries. There's
the old BSD4.2-ish "-lsocket -lnsl" on one side, and there's the more
modern and standards-conformant "-lxnet" on the other.
In folding sockets into libc, I'd strongly recommend going with
libxnet over libsocket.
If someone hadn't forked struct msghdr, this would have been less of a
thorny problem.
--
James Carlson, KISS Network <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
More information about the ksh93-integration-discuss
mailing list