File wintcp.c¶
FileList > connection > wintcp.c
Go to the source code of this file
#include "config.h"#include <stdio.h>#include <string.h>#include <signal.h>#include <sys/types.h>#include <sys/timeb.h>#include <winsock2.h>#include <windows.h>#include <ws2tcpip.h>#include "dbtype.h"#include "connection_error.h"#include "connection_sr.h"#include "error_manager.h"#include "error_code.h"#include "connection_globals.h"#include "wintcp.h"#include "host_lookup.h"#include "porting.h"#include "system_parameter.h"#include "client_support.h"
Public Static Attributes¶
| Type | Name |
|---|---|
| const int | css_Maximum_server_count = 1000 |
| const int | css_Tcp_max_connect_tries = 3 |
| int | css_Wsa_error = CSS\_ER\_WINSOCK\_NOERROR |
| int | max_socket_fds = [**\_SYS\_OPEN**](broker__monitor_8c.md#function-timeout) |
| FARPROC | old_hook = [**NULL**](freelistheap_8h.md#define-null) |
| unsigned int | wsa_Init_count = 0 |
Public Functions¶
Public Static Functions¶
| Type | Name |
|---|---|
| SOCKET | css_accept (SOCKET sockfd) |
| unsigned int | css_fd_error (SOCKET fd) |
Macros¶
| Type | Name |
|---|---|
| define | HOST_ID_ARRAY_SIZE 8 |
Public Static Attributes Documentation¶
variable css_Maximum_server_count¶
variable css_Tcp_max_connect_tries¶
variable css_Wsa_error¶
variable max_socket_fds¶
variable old_hook¶
variable wsa_Init_count¶
Public Functions Documentation¶
function css_close_server_connection_socket¶
function css_fd_down¶
function css_get_max_socket_fds¶
function css_get_peer_name¶
function css_get_sock_name¶
function css_get_wsa_error¶
function css_gethostid¶
function css_gethostname¶
function css_hostname_to_ip¶
function css_master_accept¶
function css_open_new_socket_from_master¶
function css_open_server_connection_socket¶
function css_server_accept¶
function css_shutdown_socket¶
function css_tcp_client_open¶
function css_tcp_client_open_with_retry¶
function css_tcp_listen_server_datagram¶
function css_tcp_master_datagram¶
function css_tcp_master_open¶
function css_tcp_setup_server_datagram¶
function css_transfer_fd¶
bool css_transfer_fd (
SOCKET server_fd,
SOCKET client_fd,
unsigned short rid,
CSS_SERVER_REQUEST request
)
function css_windows_blocking_hook¶
function css_windows_shutdown¶
function css_windows_startup¶
Public Static Functions Documentation¶
function css_accept¶
function css_fd_error¶
Macro Definition Documentation¶
define HOST_ID_ARRAY_SIZE¶
The documentation for this class was generated from the following file cubrid/src/connection/wintcp.c