home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.