Home Units Hierarchy Routines All identifiers

Unit unaIOCPSockets

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

2.5.2009.05 - occasional UDP timeouts bug fixed.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class unaIOCPOLList – unaIOCPOLList –
Class unaIOCPSocks – unaIOCPSocks –
Class unaIOCPSocksThread – unaIOCPSocksThread –
packed record unaIOCPSocksThread_stats – unaIOCPSocksThread_stats –
packed record unaIOCPSockWorkerOL  
Class unaIOCPSockWorkerThread – unaIOCPSockWorkerThread –

Types

punaIOCPSockWorkerOL = ˆunaIOCPSockWorkerOL;

Constants

c_max_iocp_threads = 256;
c_max_OLs = 65536;
c_max_tcp_buf = 4096;
c_max_udp_buf = 2048;
c_socket_write_timeout = 15000;
OP_ACCEPT = 0;
OP_RECV = 1;
OP_RECVFROM = 3;
OP_SEND = 2;
OP_SENDTO = 4;

Variables

v_iocp_threadsPerCore: unsigned = 2;
v_max_iocp_threads: unsigned = c_max_iocp_threads;

Description

Types

punaIOCPSockWorkerOL = ˆunaIOCPSockWorkerOL;

number of IOCP threads per CPU core

– unaIOCPSockWorkerOL –

Constants

c_max_iocp_threads = 256;
 
c_max_OLs = 65536;

WSASendTo()

c_max_tcp_buf = 4096;

max number of OLs max buf sizes

c_max_udp_buf = 2048;
 
c_socket_write_timeout = 15000;
 
OP_ACCEPT = 0;

IO Operations

OP_RECV = 1;

AcceptEx()

OP_RECVFROM = 3;

WSASend()

OP_SEND = 2;

WSARecv()

OP_SENDTO = 4;

WSARecvFrom()

Variables

v_iocp_threadsPerCore: unsigned = 2;

max number of threads in a pool

v_max_iocp_threads: unsigned = c_max_iocp_threads;

how long socket can remain in "cannot write to" state (ms)

Author

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09