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:
This setting gives you the proper constants. The function returns true if successful.use Socket;
Copyright © 2001 O'Reilly & Associates. All rights reserved.