Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 21:26:02 +0000
From:      "Dan - Sr. Admin" <dm@globalserve.net>
To:        Gurudatt Shenoy <gurudatt@cs.tamu.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: What libraries for socket programs in FreeBSD?
Message-ID:  <19990218212602.B18058@globalserve.net>
In-Reply-To: <Pine.GSO.3.96.990218183455.8485C-100000@dilbert>; from Gurudatt Shenoy on Thu, Feb 18, 1999 at 06:37:50PM -0600
References:  <Pine.GSO.3.96.990218183455.8485C-100000@dilbert>

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

> 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?>
> 
> Thanks,
> ~gs

Usually, 

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

should get you covered.

They're in libc.

Regards,
-- 
Dan Moschuk (TFreak!dm@globalserve.net)
Senior Systems/Network Administrator
Globalserve Communications Inc., a Primus Canada Company
"Even a stopped clock is right twice a day"


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?19990218212602.B18058>