GameNetworkingSockets icon indicating copy to clipboard operation
GameNetworkingSockets copied to clipboard

Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption.

Results 112 GameNetworkingSockets issues
Sort by recently updated
recently updated
newest added

Starting from Protobuf 29.0, `protobuf::Message::GetTypeName()` can return either `std::string` or `absl::string_view`, depending on Abseil build options. For more details, see: https://github.com/protocolbuffers/protobuf/commit/e13b8e999b3922d0633802c7f90e39af50a31d76 Detect the return type of the method in compile-time...

an integer overflow caused by performing a multiplication between two unsigned 32-bit integers and then casting the result to a larger data type (`size_t`) after the multiplication. This cast does...

GameNetworkingSockets fails to compile after updating arch linux. In src/steamnetworkingsockets/clientlib/csteamnetworkingsockets.cpp SteamNetworkingIdentityToProtobuf gives `No member named 'c_str' in 'std::basic_string_view`. Did something change with protobuf? It was compiling without issues just a...

I've tested calling these new flat APIs with a [test commit](https://github.com/nalchi-net/GnsSharp/blob/e976221515571c6fecdb6278490fe9d4d59bc7f8/GnsSharp/ISteamNetworkingMessages.cs#L58) in [my C# binding GnsSharp](https://github.com/nalchi-net/GnsSharp): ```cs SteamNetworkingIPAddr addr = default; addr.ParseString("127.0.0.1:43000"); SteamNetworkingIdentity ident = default; ident.SetIPAddr(in addr); ISteamNetworkingMessages.User!.SendMessageToUser(ident, data,...

OS: Ubuntu 24.04 Compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 CMake: 3.28.3 I'm trying to build the GameNetworkingSockets library and I get this error. No clue what is generating it. I already...

I am use to seeing udp messages with send options like Unreliable, Reliable, Ordered, ReliableOrdered. However, I am not seeing any reference to order here in the flags or otherwise....

## Fix Currently `SteamNetworkingConfigValue_t::SetString()` sets the `m_eDataType` to `k_ESteamNetworkingConfig_Ptr`, instead of `k_ESteamNetworkingConfig_String`. This commit fixes this. ## Test I just tested this fix by editing `test_p2p.cpp` so that it uses...

## Ticket 🎟️ #363 fix the problem, we need to ensure that the multiplication is performed using a larger integer type to avoid overflow. This can be achieved by casting...

https://github.com/ValveSoftware/GameNetworkingSockets/blob/725e273c7442bac7a8bc903c0b210b1c15c34d92/src/tier1/utlmemory.cpp#L21-L21 This rule finds code that converts the result of an integer multiplication to a larger type. Since the conversion applies after the multiplication, arithmetic overflow may still occur. The...

## Issue I saw the issues regarding P2P (#247, #354), but those issues are about the remote environment. They at least worked on the same machine (i.e. succeeds `test_p2p.py`). But...