Creates a pair of connected sockets. Format #include <sys/socket.h> int socketpair (int domain, int type, int protocol, int socket_vector[2]);