'\" te .\" Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. .TH libsocket 3LIB "23 Aug 2011" "SunOS 5.11" "Interface Libraries" .SH NAME libsocket \- sockets library .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lsocket\fR [ \fIlibrary\fR... ] .fi .SH DESCRIPTION .sp .LP Functions in this library provide the socket internetworking interface, primarily used with the TCP/IP protocol suite. .SH INTERFACES .sp .LP The shared object \fBlibsocket.so.1\fR provides the public interfaces defined below. See \fBIntro\fR(3) for additional information on shared object interfaces. .sp .sp .TS tab(); lw(2.75i) lw(2.75i) lw(2.75i) lw(2.75i) . \fB__xnet_bind\fR\fB__xnet_connect\fR \fB__xnet_getsockopt\fR\fB__xnet_listen\fR \fB__xnet_recvmsg\fR\fB__xnet_sendmsg\fR \fB__xnet_sendto\fR\fB__xnet_socket\fR \fB__xnet_socketpair\fR\fBaccept\fR \fBbind\fR\fBconnect\fR \fBendnetent\fR\fBendprotoent\fR \fBendservent\fR\fBether_aton\fR \fBether_hostton\fR\fBether_line\fR \fBether_ntoa\fR\fBether_ntohost\fR \fBfreeaddrinfo\fR\fBgai_strerror\fR \fBgetaddrinfo\fR\fBgetifaddrs\fR \fBgetnameinfo\fR\fBgetnetbyaddr\fR \fBgetnetbyaddr_r\fR\fBgetnetbyname\fR \fBgetnetbyname_r\fR\fBgetnetent\fR \fBgetnetent_r\fR\fBgetpeername\fR \fBgetprotobyname\fR\fBgetprotobyname_r\fR \fBgetprotobynumber\fR\fBgetprotobynumber_r\fR \fBgetprotoent\fR\fBgetprotoent_r\fR \fBgetservbyname\fR\fBgetservbyname_r\fR \fBgetservbyport\fR\fBgetservbyport_r\fR \fBgetservent\fR\fBgetservent_r\fR \fBgetsockname\fR\fBgetsockopt\fR \fBhtonl\fR\fBhtonll\fR \fBhtons\fR\fBif_freenameindex\fR \fBif_indextoname\fR\fBif_nameindex\fR \fBif_nametoindex\fR\fBin6addr_any\fR \fBin6addr_loopback\fR\fBinet_lnaof\fR \fBinet_makeaddr\fR\fBinet_network\fR \fBlisten\fR\fBntohl\fR \fBntohll\fR\fBntohs\fR \fBrcmd\fR\fBrcmd_af\fR \fBrecv\fR\fBrecvfrom\fR \fBrecvmsg\fR\fBrexec\fR \fBrexec_af\fR\fBrresvport\fR \fBrresvport_af\fR\fBruserok\fR \fBsend\fR\fBsendmsg\fR \fBsendto\fR\fBsetnetent\fR \fBsetprotoent\fR\fBsetservent\fR \fBsetsockopt\fR\fBshutdown\fR \fBsocket\fR\fBsocketpair\fR .TE .SH FILES .sp .ne 2 .mk .na \fB\fB/lib/libsocket.so.1\fR\fR .ad .RS 26n .rt shared object .RE .sp .ne 2 .mk .na \fB\fB/lib/64/libsocket.so.1\fR\fR .ad .RS 26n .rt 64-bit shared object .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/library _ MT-LevelSee the manual page for each interface. .TE .SH SEE ALSO .sp .LP \fBpvs\fR(1), \fBIntro\fR(2), \fBIntro\fR(3), \fBsocket.h\fR(3HEAD), \fBattributes\fR(5)