u_inport.c - Udp INput PORT routines
This code supports read operations for the UDP port subsystem.
This is standard UNIX code from Stevens ported to Windows.
Function
|
init_to_receive_on_port
|
Include file
|
U_INPORT.H
|
Prototype
|
int init_to_receive_on_port(
IP_SOCK *u_ptr , UWORD port_num , int is_blocking )
|
Remarks
|
Initialize and open up a UDP port for reading. You can also
set the port for blocking or non-blocking IO on the port.
|
Function
|
getchar_from_UDP_packet
|
Include file
|
U_INPORT.H
|
Prototype
|
int getchar_from_UDP_packet( IP_SOCK *u_ptr )
|
Remarks
|
Return the next byte from a UDP datagram buffer. If the socket
is empty this routine will first do a receive_datagram() on the port
to load the datagram.
|
Table of Contents
Function Index
generated on 22 September 1998 - 12:55:54
© 1998 Tierra del Fuego Ltd.
|