'\" te .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] .TH LIBSOCKET 3LIB "Aug 2, 2018" .SH NAME libsocket \- sockets library .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lsocket\fR [ \fIlibrary\fR... ] .fi .SH DESCRIPTION .LP Functions in this library provide the socket internetworking interface, primarily used with the TCP/IP protocol suite. .SH INTERFACES .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 l l l l . \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 \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 \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 \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 .ne 2 .na \fB\fB/lib/libsocket.so.1\fR\fR .ad .RS 26n shared object .RE .sp .ne 2 .na \fB\fB/lib/64/libsocket.so.1\fR\fR .ad .RS 26n 64-bit shared object .RE .SH ATTRIBUTES .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS box; c | c l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE _ MT-Level See the manual page for each interface. .TE .SH SEE ALSO .LP \fBpvs\fR(1), \fBIntro\fR(2), \fBIntro\fR(3), \fBsocket.h\fR(3HEAD), \fBattributes\fR(5)