System Interface Guide

Stream Data Transfer and Closing

Several functions to send and receive data from a SOCK_STREAM socket. These are write(2), read(2), send(3N), and recv(3N). send() and recv() are very similar to read() and write(), but have some additional operational flags.

A SOCK_STREAM socket is discarded by calling close(2).