|
|
|
|
| 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. |
![]()
![]()