From owner-freebsd-hackers Thu Feb 18 17:20:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id E03061142F for ; Thu, 18 Feb 1999 17:20:55 -0800 (PST) (envelope-from bright@cygnus.rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.8.7/8.8.7) with SMTP id UAA07824; Thu, 18 Feb 1999 20:41:43 -0500 (EST) Date: Thu, 18 Feb 1999 20:41:41 -0500 (EST) From: Alfred Perlstein To: Gurudatt Shenoy Cc: FreeBSD Hackers Subject: Re: What libraries for socket programs in FreeBSD? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Feb 1999, Gurudatt Shenoy wrote: > > Pardon my naivete: > What libraries does one include to compile socket programs in freebsd? > 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