MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / SetNoDelay

Method SetNoDelay

src/openrct2/network/Socket.cpp:301–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 }
300
301 void SetNoDelay(bool noDelay) override
302 {
303 if (_socket != INVALID_SOCKET)
304 {
305 SetOption(_socket, IPPROTO_TCP, TCP_NODELAY, noDelay);
306 }
307 }
308
309 void Listen(uint16_t port) override
310 {

Callers 2

setNoDelayMethod · 0.45
UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected