start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

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

socket

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: sleep Perl in a Nutshell Next: Reference: socketpair
Reference: sleep Book Index Reference: socketpair