1libsocket(3LIB) Interface Libraries libsocket(3LIB)
2
3
4
6 libsocket - sockets library
7
9 cc [ flag... ] file... -lsocket [ library... ]
10
11
13 Functions in this library provide the socket internetworking interface,
14 primarily used with the TCP/IP protocol suite.
15
17 The shared object libsocket.so.1 provides the public interfaces defined
18 below. See Intro(3) for additional information on shared object inter‐
19 faces.
20
21
22
23
24 __xnet_bind __xnet_connect
25 __xnet_getsockopt __xnet_listen
26 __xnet_recvmsg __xnet_sendmsg
27 __xnet_sendto __xnet_socket
28 __xnet_socketpair accept
29 bind connect
30 endnetent endprotoent
31 endservent ether_aton
32 ether_hostton ether_line
33 ether_ntoa ether_ntohost
34 freeaddrinfo gai_strerror
35 getaddrinfo getnameinfo
36 getnetbyaddr getnetbyaddr_r
37 getnetbyname getnetbyname_r
38 getnetent getnetent_r
39 getpeername getprotobyname
40 getprotobyname_r getprotobynumber
41 getprotobynumber_r getprotoent
42 getprotoent_r getservbyname
43 getservbyname_r getservbyport
44 getservbyport_r getservent
45 getservent_r getsockname
46 getsockopt htonl
47 htons if_freenameindex
48 if_indextoname if_nameindex
49 if_nametoindex in6addr_any
50 in6addr_loopback inet_lnaof
51 inet_makeaddr inet_network
52 listen ntohl
53 ntohs rcmd
54 rcmd_af recv
55 recvfrom recvmsg
56 rexec rexec_af
57 rresvport rresvport_af
58 ruserok send
59 sendmsg sendto
60 setnetent setprotoent
61 setservent setsockopt
62 shutdown socket
63 socketpair
64
65
67 /lib/libsocket.so.1 shared object
68
69
70 /lib/64/libsocket.so.1 64-bit shared object
71
72
74 See attributes(5) for descriptions of the following attributes:
75
76
77
78
79 ┌─────────────────────────────┬────────────────────────────────────────┐
80 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
81 ├─────────────────────────────┼────────────────────────────────────────┤
82 │Availability │SUNWcsl (32-bit) │
83 ├─────────────────────────────┼────────────────────────────────────────┤
84 │ │SUNWcslx (64-bit) │
85 ├─────────────────────────────┼────────────────────────────────────────┤
86 │MT-Level │See the manual page for each interface. │
87 └─────────────────────────────┴────────────────────────────────────────┘
88
90 pvs(1), Intro(2), Intro(3), socket.h(3HEAD), attributes(5)
91
92
93
94SunOS 5.11 2 Nov 2004 libsocket(3LIB)