inet-client

Name

inet-client -- Connect to an internet server.

Type: function

Synopsis

inet-client( host port, fd);

Arguments

host

An instance of <hostspec>

port

An instance of <fixnum>

Return Values

fd

An instance of <fixnum>

Description

This procedure establishes a TCP/IP (stream) connection to the the given port on the given host. The host may be specified as either a <string> or a <inet-addr>. If host is a <string>, it is resolved using string->hostaddr.