NAME | SYNOPSIS | DESCRIPTION | INTERFACES | FILES | ATTRIBUTES | SEE ALSO
cc [ flag . . . ] file . . . -lsocket [ library . . . ]
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(3).
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 |
This interface inherits all definitions from the generic SUNW_1.1 and the SISCD_2.3.
This interface contains all definitions from SISCD_2.3, and inherits all definitions from the generic SUNW_1.1.
archive library
shared object
64-bit shared object file
See attributes(5) for descriptions of the following attributes:
NAME | SYNOPSIS | DESCRIPTION | INTERFACES | FILES | ATTRIBUTES | SEE ALSO