This command sets the send timeout in
milliseconds of the specified instance.
This command should be used on an uninitialized
instance.
From the moment a send operation is started
using mnSendUDP, mnSendTCP, mnSendUDPAll or mnSendTCPAll, the client
will be disconnected if the data does not finish sending within the
send timeout period.
A robust server should include a send
timeout to ensure that blocking send operations to not block forever,
and to prevent non blocking send operations stacking up and using too
much memory.
By default the send timeout is infinite
(unsigned integer’s maximum).
You can use mnGetSendTimeout to determine what the timeout value is.
int Instance: This is the instance that the command should use.
unsigned int Timeout: This is the new timeout value.
0 if an error occurred.
-1 if an error occurred.
DBP
C++
.Net