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

Programming Perl


3.2.151 socket

socket 

SOCKET

, 

DOMAIN

, 

TYPE

, 

PROTOCOL

This function 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 gives you the proper constants. The function returns true if successful. See the examples in the section "Sockets" in Chapter 6 .


3.2.150 sleep Book Index 3.2.152 socketpair

[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]







(追記) (追記ここまで)


(追記) (追記ここまで)


AltStyle によって変換されたページ (->オリジナル) /