libsocket(4)
NAME
libsocket − the 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.
The shared object libsocket.so.1 provides the public interfaces defined below.
For additional information on shared object interfaces, see intro(4).
INTERFACES
SISCD_2.3 (SPARC only) -
The SPARC Compliance Definition, revision 2.3:
| accept | bind | connect |
| getpeername | getprotobyname | getprotobynumber |
| getprotoent | getservbyname | getservbyport |
| getsockname | getsockopt | inet_lnaof |
| inet_makeaddr | inet_network | listen |
| recv | recvfrom | recvmsg |
| send | sendmsg | sendto |
| setsockopt | shutdown | socket |
SUNW_1.1 (generic):
| bindresvport | endnetent | endprotoent |
| endservent | ether_aton | ether_hostton |
| ether_line | ether_ntoa | ether_ntohost |
| fcntl | getnetbyaddr | getnetbyaddr_r |
| getnetbyname | getnetbyname_r | getnetent |
| getnetent_r | getprotobyname_r | getprotobynumber_r |
| getprotoent_r | getservbyname_r | getservbyport_r |
| getservent | getservent_r | htonl |
| htons | ioctl | ntohl |
| ntohs | rcmd | rexec |
| rresvport | ruserok | setnetent |
| setprotoent | setservent | socketpair |
SUNW_1.1 (SPARC) -
This interface inherits all definitions from the generic SUNW_1.1 and the SISCD_2.3.
SUNW_1.1 (i386) - This interface contains all definitions from SISCD_2.3, and inherits all definitions from the generic SUNW_1.1.
FILES
/usr/lib/libsocket.so.1 shared object
/usr/lib/libsocket.a archive library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
/usr/lib/libsocket.so.1
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWcsu |
| MT-Level | Safe |
SEE ALSO
pvs(1), intro(2), intro(3), intro(4), attributes(5)
SunOS 5.6 — Last change: 14 Feb 1997