Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ socketaddr(2X) — UNIX 2.9BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SOCKETADDR(2X)  —  Unix Programmer’s Manual

NAME

socketaddr − return address associated with a socket

SYNOPSIS

#include <sys/socket.h> socketaddr(s, addr)
int s;
struct sockaddr ∗addr;

DESCRIPTION

The address associated with the socket s is returned in addr.  If s is not a socket, −1 is returned and an appropriate errno is returned. 

SEE ALSO

socket (2x)

BUGS

This call is provisional, and will exist in a slightly different form in 4.2bsd. 

7th Edition  —  3/17/82

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026