property CreatePoolSocketServerObject.
Creates a TCP/IP and thread
pool based server.
long *pVal
|
listeningPort
[in] . Listening
port
host_to_bind
[in] . Binding to an IP address or NULL (all IP
binding)
max_connection
[in] . Maximum authorized incoming connections
ThreadPoolSize
[in,defaultvalue(8)]
.
Number of worker threads in the thread
pool
sndbuf_size
[in,defaultvalue(0)]
.
Custom size in bytes for sending data.
(8 Kb is by default)
recvbuf_size
[in,defaultvalue(0)]
.
Custom size in bytes for receiving data. (8 Kb is by default)
pVal
[out,
retval] The returned value is a handle of server object
S_OK
The
operation was successfull.
E_POINTER
A NULL
pointer was supplied as an argument.
E_UNEXPECTED
An
unexpected error occoured.