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