CUBRID Engine
latest
|
Go to the source code of this file.
char* css_get_master_domain_path | ( | void | ) |
Definition at line 155 of file tcp.c.
References envvar_get(), envvar_prefix(), NULL, and prm_get_master_port_id().
Referenced by css_master_cleanup(), css_process_kill_master(), css_sockaddr(), and css_tcp_master_open().
int css_get_peer_name | ( | SOCKET | sockfd, |
char * | hostname, | ||
size_t | len | ||
) |
int css_get_sock_name | ( | SOCKET | sockfd, |
char * | hostname, | ||
size_t | len | ||
) |
int css_hostname_to_ip | ( | const char * | host, |
unsigned char * | ip_addr | ||
) |
Definition at line 1470 of file tcp.c.
References ARG_FILE_LINE, css_ping(), er_log_debug, htons(), and SET_NONBLOCKING.
Referenced by css_connection_handler_thread(), and css_net_recv().
int css_ping | ( | SOCKET | sd, |
struct sockaddr_in * | sa_send, | ||
int | timeout | ||
) |
int css_tcp_client_open_with_timeout | ( | const char * | host, |
int | port, | ||
int | timeout | ||
) |
Definition at line 550 of file tcp.c.
References ARG_FILE_LINE, assert, css_sockaddr(), css_sockopt(), ER_ERROR_SEVERITY, er_log_debug, er_set_with_oserror(), ERR_CSS_TCP_CANNOT_CREATE_SOCKET, INVALID_SOCKET, NO_ERROR, NULL, and SET_NONBLOCKING.
Referenced by css_common_connect().
Definition at line 882 of file tcp.c.
References ARG_FILE_LINE, ER_ERROR_SEVERITY, er_set_with_oserror(), ERR_CSS_TCP_ACCEPT_ERROR, ERR_CSS_TCP_DATAGRAM_BIND, ERR_CSS_TCP_DATAGRAM_SOCKET, IS_INVALID_SOCKET, and strlen.
Referenced by css_connect_to_master_server().