2017年9月21日 星期四

delphi Socket Components


DelphiA variety of SocketComponents of the model and the model

Assembly
Unit
Dependence
Pattern
Model
WebApp/CGI
sockapp.pas
Indy
Blocking or non blocking
select
Indy


Blocking or non blocking
select
ICS
OverbyteIcsWSocket.pas

Non blocking
WMAsyncSelect
TTcpServer/TTcpClient
sockets.pas

Blocking or non blocking
Select
RealThinClient

The ICS variant
Non blocking
wsaasyncselect
synapse
blckSock.pas

Blocking or non blocking
Select
TServerSocket
TClientSocket
ScktComp.pas

Blocking or non blocking
WSAAsyncSelect
FastNet
psock.pas


WSAAsyncselect
TSocketConnection

TServerSocket
TClientSocket



From the table above can be seen, not a component using the following 4 models:
Blocking mode
Overlap port
Event selection
The completion port
Only to:
Select
WSAAsyncselect
These two kinds of models, and the use of WSAAsyncselect model, the inevitable need window, components used as service is not much. 
We will analyze various server program is what model: 
IOCP 
Apache
Legend
Mysql
Erlang
WSAEventSelect
TServerSocket 
...


By steven
2014-2-1
 

沒有留言: