You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Official references: [ISteamNetworkingSockets](https://partner.steamgames.com/doc/api/ISteamNetworkingSockets) and [ISteamNetworkingMessages](https://partner.steamgames.com/doc/api/ISteamNetworkingMessages).
4
+
5
+
`networking.sockets` is the modern connection-oriented API. Create a P2P listen
6
+
socket with `createListenSocketP2P()`, connect with `connectP2P()`, accept
7
+
incoming connection handles with `acceptConnection()`, and use the connection
8
+
handle to send or receive messages. `networking.messages` is the modern
9
+
connectionless API: use `sendMessageToUser()` and poll a local channel with
10
+
`receiveMessagesOnChannel()`.
11
+
12
+
Both interfaces use decimal-string Steam IDs and Node.js `Buffer` payloads.
13
+
Received messages are copied into JavaScript and released by the binding before
14
+
they are returned. Reads accept at most 256 messages per call; sent messages
15
+
cannot exceed Steam's 512 KiB maximum. Send flags and result values are the
0 commit comments