# acknowledgement
function acknowledgement()Return the acknowledgement value.
src/miniquake2/network/connectionless.mlProvides miniquake2 network connectionless facilities for this project.
miniquake2/network/types.ml as nt → src/miniquake2/network/types.mlminiquake2/protocol/constants.ml as pc → src/miniquake2/protocol/constants.mlminiquake2/protocol/packet.ml as ppacket → src/miniquake2/protocol/packet.mlminiquake2/qcommon/cmd.ml as qcmd → src/miniquake2/qcommon/cmd.mlfunction acknowledgement()Return the acknowledgement value.
function challenge(value)Return the challenge value.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
function clientConnect()Performs the clientConnect operation for the miniquake2 network connectionless module.
function connect(qport, challenge, userInfo)Connect state.
| Parameter | Type | Default | Description |
|---|---|---|---|
qport | dynamic | — | qport value consumed by this operation. |
challenge | dynamic | — | challenge value consumed by this operation. |
userInfo | dynamic | — | userInfo value consumed by this operation. |
function frameText(text)Return the frame text value.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text consumed by the operation. |
function getChallenge()Return challenge.
function heartbeat(statusText)Return the heartbeat value.
| Parameter | Type | Default | Description |
|---|---|---|---|
statusText | dynamic | — | statusText value consumed by this operation. |
function info()Return the info value.
function infoReply(text)Return the info reply value.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text consumed by the operation. |
function padLeft(value, width)Pad left.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
width | dynamic | — | Width in the coordinate or storage units used by the caller. |
function parseDecimal(value)Parse decimal.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
function parsePacket(datagram)Parse packet.
| Parameter | Type | Default | Description |
|---|---|---|---|
datagram | dynamic | — | datagram value consumed by this operation. |
function ping()Return the ping value.
function printReply(text)Print reply.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text consumed by the operation. |
function shutdown()Performs the shutdown operation for the miniquake2 network connectionless module.
function splitPayload(payload)Split payload.
| Parameter | Type | Default | Description |
|---|---|---|---|
payload | dynamic | — | payload value consumed by this operation. |
function status()Return the status value.
function truncateText(value, maximumBytes)Return the truncate text value.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
maximumBytes | dynamic | — | maximumBytes value consumed by this operation. |