Typedefs |
| typedef int R_CDECL | SIO_GETHOSTBYADDR_CB_T (unsigned char *addr, int alen, char *name, int len) |
| | The prototype for a callback that can be used to replace the gethostbyaddr() function. More...
|
| typedef int R_CDECL | SIO_GETHOSTBYNAME_CB_T (char *name, unsigned char *addr, int alen) |
| | The prototype for a callback that can be used to replace the gethostbyname() function. More...
|
Functions |
| int R_CDECL | SIO_sock_should_retry (SIO_SOCK sock) |
| | Indicates whether the last I/O operation (read or write) should be retried. More...
|
| int R_CDECL | SIO_conn_should_retry (SIO_SOCK sock) |
| | Indicates whether the connection should be retried. More...
|
| int R_CDECL | SIO_sock_non_fatal_error (int error) |
| | Indicates that if the error error occurs it should be considered a non-fatal error. More...
|
| int R_CDECL | SIO_conn_non_fatal_error (int error) |
| | Determines whether the error code error is fatal or whether the operation may be retried for a socket pending connection. More...
|
| int R_CDECL | SIO_fd_should_retry (int sock) |
| | Indicates whether the last I/O operation (read or write) should be retried. More...
|
| int R_CDECL | SIO_fd_non_fatal_error (int error) |
| | Indicates that if the error error occurs it should be flagged as a non-fatal error. More...
|
| int R_CDECL | SIO_shutdown (SIO_SOCK fd, int mode) |
| | Shuts down the socket identified by the file descriptor fd. More...
|
| int R_CDECL | SIO_close (SIO_SOCK fd) |
| | Closes the file descriptor fd. More...
|
| int R_CDECL | SIO_gethostbyname (char *name, unsigned char *addr, int alen) |
| | Returns the network address relating to the host name name. More...
|
| int R_CDECL | SIO_gethostbyaddr (unsigned char *addr, int alen, char *name, int nlen) |
| | Takes a network address addr and attempts to determine the matching host name. More...
|
| void R_CDECL | SIO_set_gethostbyname (SIO_GETHOSTBYNAME_CB_T *func) |
| | Sets the callback used by SIO_gethostbyname(). More...
|
| SIO_GETHOSTBYNAME_CB_T* R_CDECL | SIO_get_gethostbyname () |
| | Returns the callback used by SIO_gethostbyname(). More...
|
| void R_CDECL | SIO_set_gethostbyaddr (SIO_GETHOSTBYADDR_CB_T *func) |
| | Sets the callback used by SIO_gethostbyaddr(). More...
|
| SIO_GETHOSTBYADDR_CB_T* R_CDECL | SIO_get_gethostbyaddr () |
| | Returns the callback used by SIO_gethostbyaddr(). More...
|
| int R_CDECL | SIO_sock_error (SIO_SOCK sock) |
| | Returns the last socket error code for the socket sock. More...
|
| int R_CDECL | SIO_socket_nbio (SIO_SOCK fd, int mode) |
| | Sets the value of the non-blocking I/O flag for the socket descriptor underlying a socket descriptor. More...
|
| int R_CDECL | SIO_get_port (char *str, unsigned short *port_ptr) |
| | Converts a port number or service name in ASCII format into a port number. More...
|
| int R_CDECL | SIO_get_host_ip (char *str, unsigned char *addr, int alen) |
| | Converts a host name or IP address in standard dot notation (that is, 192.168.1.1) into an IP address suitable for use with standard network routines. More...
|
| SIO_SOCK R_CDECL | SIO_get_accept_socket (char *host_port, int bind_mode) |
| | Creates a socket setup for incoming connections on the server side. More...
|
| SIO_SOCK R_CDECL | SIO_accept (SIO_SOCK sock, char **ip_port) |
| | Accepts the next pending connection on the socket sock. More...
|
| SIO_SOCK R_CDECL | SIO_connect (char *host, char *port, int nbio, SIO_SOCK *sockp) |
| | Establishes a connection to a server application at host listening on port. More...
|
| int R_CDECL | SIO_sock_init (void) |
| | Initializes the system network library for use by applications. More...
|
| void R_CDECL | SIO_sock_cleanup (void) |
| | Performs clean up operations for all sockets and is called when no additional sockets will be used. More...
|
| int R_CDECL | SIO_set_tcp_nodelay (SIO_SOCK sock, int turn_on) |
| | Sets the socket option TCP_NODELAY (in a system header file) for the socket descriptor underlying a socket. More...
|
| int R_CDECL | SIO_ghbn_default (char *name, unsigned char *addr, int alen) |
| | Takes a host name name and attempts to determine the matching network address. More...
|
| int R_CDECL | SIO_ghbn_cache (char *name, unsigned char *addr, int alen) |
| | Uses the cache to obtain the socket address from the host name. More...
|
| int R_CDECL | SIO_ghba_default (unsigned char *addr, int alen, char *name, int nlen) |
| | Takes a network address addr and attempts to determine the matching host name. More...
|
| int R_CDECL | SIO_ghbn_cache_cleanup (void) |
| | Clears the cache created when any gethostbyname operations are performed. More...
|
| int R_CDECL | SIO_host_to_addr (char *host, char *addr, int *addrlen) |
| | Returns the socket address corresponding to the host specified by host. More...
|
| int R_CDECL | SIO_getsockopt (int socket, int level, int option_name, void *option_value, unsigned long *option_len) |
| | Retrieves the value for the option specified for the supplied socket. More...
|
| int R_CDECL | SIO_setsockopt (int socket, int level, int option_name, void *option_value, unsigned long option_len) |
| | Sets the value for the option specified for the supplied socket. More...
|
| int R_CDECL | SIO_getsockname (int socket, struct sockaddr *address, unsigned long *address_len) |
| | Retrieves the locally-bound name of the specified socket and stores the information in the supplied structure. More...
|