tcp_port.c - Transmission Control Protocol PORT routines
This code supports read & write operations for the TCP
port subsystem.
This is standard UNIX code from Stevens ported to Windows.
Function
|
init_to_receive_tcp_on_port
|
Include file
|
TCP_PORT.H
|
Prototype
|
int init_to_receive_tcp_on_port(
IP_SOCK *t_ptr , UWORD port_num , int is_blocking )
|
Remarks
|
Initialize and open up a TCP socket for read on a port. The socket
can be set for blocking or non-blocking IO and will be listening for
incoming connections.
|
Function
|
init_to_send_to_host
|
Include file
|
TCP_PORT.H
|
Prototype
|
int init_to_send_to_host( IP_SOCK *t_ptr , char *host , UWORD port )
|
Remarks
|
Initialize a connection to a target host for TCP writes.
|
Function
|
make_connection
|
Include file
|
TCP_PORT.H
|
Prototype
|
int make_connection( IP_SOCK *t_ptr )
|
Remarks
|
Make a connection request to a remote listening socket.
|
Function
|
accept_connection
|
Include file
|
TCP_PORT.H
|
Prototype
|
int accept_connection( IP_SOCK *t_ptr )
|
Remarks
|
Accept an incoming connection request on a listening socket and reset it
over to the new port number.
|
Table of Contents
Function Index
generated on 22 September 1998 - 12:55:45
© 1998 Tierra del Fuego Ltd.
|