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.


Previous: Reference: sleep Perl in a Nutshell Next: Reference: socketpair
Reference: sleep Book Index Reference: socketpair

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.