QcTcpTransport::Limits Struct
struct QcTcpTransport::LimitsThe bounds of a transport; the defaults suit a client's link to its server. More...
Public Variables
| int | idleTimeoutMs |
| int | keepAliveMs |
| int | lingerMs |
| qint64 | maxIncomingFrameBytes |
| qint64 | maxPendingBytes |
Detailed Description
Member Variable Documentation
int Limits::idleTimeoutMs
The connection counts as lost when nothing arrived for this long.
int Limits::keepAliveMs
A keep-alive frame goes out when nothing was sent for this long.
int Limits::lingerMs
How long the goodbye of a closed or destroyed transport may take (decision E-904): its socket sends the queued frames (a reason of a Disconnect) and the end in the background and closes once the peer closed too, at the latest after this time; nothing waits for it. The listener of a network game uses longer (QcNetworkConfig): its players' links may be slow.
qint64 Limits::maxIncomingFrameBytes
Frames of the peer larger than this break the connection.
qint64 Limits::maxPendingBytes
Bytes waiting to be sent beyond this cut a slow peer off.