Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 20:41:41 -0500 (EST)
From:      Alfred Perlstein <bright@cygnus.rush.net>
To:        Gurudatt Shenoy <gurudatt@cs.tamu.edu>
Cc:        FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: What libraries for socket programs in FreeBSD?
Message-ID:  <Pine.BSF.3.96.990218203910.10060P-100000@cygnus.rush.net>
In-Reply-To: <Pine.GSO.3.96.990218183455.8485C-100000@dilbert>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 18 Feb 1999, Gurudatt Shenoy wrote:

> 
> Pardon my naivete:
> What libraries does one include to compile socket programs in freebsd? 
> <Specifically, what are the freebsd equivalents of lnsl and lsocket on
> solaris?>

They are mostly part of libc and therefor linked in by default.  Basically
you do not need these libs.  -lsocket is a lame SRV4 (i think) thing because
BSD sockets are simulated (poorly) via userland code.

If you get any unresolved symbols check the function's manpage, or
us 'nm' on the libraries in /usr/lib to locate it.

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990218203910.10060P-100000>