ISteamNetworkingSockets.FlushMessagesOnConnection

Flush any messages waiting on the Nagle timer and send them at the next transmission opportunity (often that means right now).

If Nagle is enabled (it's on by default) then when calling SendMessageToConnection the message will be buffered, up to the Nagle time before being sent, to merge small messages into the same packet. (See k_ESteamNetworkingConfig_NagleTime)

class ISteamNetworkingSockets
FlushMessagesOnConnection

Return Value

Type: EResult

k EResultInvalidParam

invalid connection handle

k EResultInvalidState

connection is in an invalid state

k EResultNoConnection

connection has ended

k EResultIgnored

We weren't (yet) connected, so this operation has no effect.

Meta