Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Interface Librarieslibsocket(3LIB)


NAME

 libsocket - sockets library

SYNOPSIS

 
cc [ flag... ] file... -lsocket [ library... ]

DESCRIPTION

 

Functions in this library provide routines that provide the socket internetworking interface, primarily used with the TCP/IP protocol suite.

INTERFACES

 

The shared object libsocket.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.

__xnet_bind__xnet_connect
__xnet_getsockopt__xnet_listen
__xnet_recvmsg__xnet_sendmsg
__xnet_sendto__xnet_socket
__xnet_socketpairaccept
bindbindresvport
connectendnetent
endprotoentendservent
ether_atonether_hostton
ether_lineether_ntoa
ether_ntohostfreeaddrinfo
gai_strerrorgetaddrinfo
getnameinfogetnetbyaddr
getnetbyaddr_rgetnetbyname
getnetbyname_rgetnetent
getnetent_rgetpeername
getprotobynamegetprotobyname_r
getprotobynumbergetprotobynumber_r
getprotoentgetprotoent_r
getservbynamegetservbyname_r
getservbyportgetservbyport_r
getserventgetservent_r
getsocknamegetsockopt
htonlhtons
if_freenameindexif_indextoname
if_nameindexif_nametoindex
in6addr_anyin6addr_loopback
inet_lnaofinet_makeaddr
inet_networklisten
ntohlntohs
rcmdrcmd_af
recvrecvfrom
recvmsgrexec
rexec_afrresvport
rresvport_afruserok
sendsendmsg
sendtosetnetent
setprotoentsetservent
setsockoptshutdown
socketsocketpair

FILES

 
/usr/lib/libsocket.a
archive library
/usr/lib/libsocket.so.1
shared object
/usr/lib/64/libsocket.so.1
64-bit shared object

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsl, SUNWarc (32-bit)
 SUNWcslx (64-bit)
MT-LevelSafe

SEE ALSO

 

pvs(1), intro(2), intro(3), attributes(5)


SunOS 5.9Go To TopLast Changed 27 Feb 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.