Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sleepChapter 5
Function Reference
Next: Reference: socketpair


socket socket, domain, type, protocol

Opens a socket of the specified kind and attaches it to filehandle socket. domain, type, and protocol are specified the same as for socket(2). Before using this function, your program should contain the line:

use Socket;
This setting gives you the proper constants. The function returns true if successful.

Previous: Reference: sleepPerl in a NutshellNext: Reference: socketpair
Reference: sleepBook IndexReference: socketpair