Perl Programming/Keywords/socket

The socket keyword
The socket function opens a socket of the specified kind and attaches it to filehandle SOCKET. The DOMAIN, TYPE, and PROTOCOL are specified in the same way as for syscall.

Examples

 * syscall