Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Expose flat API for ISteamNetworkingMessages#368

Open
copyrat90 wants to merge 1 commit intoValveSoftware:masterfrom
copyrat90:expose-flat-netmsgs
Open

Expose flat API for ISteamNetworkingMessages#368
copyrat90 wants to merge 1 commit intoValveSoftware:masterfrom
copyrat90:expose-flat-netmsgs

Conversation

Copy link

copyrat90 commented Mar 30, 2025

I've tested calling these new flat APIs with a test commit in my C# binding GnsSharp:

SteamNetworkingIPAddr addr = default;
addr.ParseString("127.0.0.1:43000");

SteamNetworkingIdentity ident = default;
ident.SetIPAddr(in addr);

ISteamNetworkingMessages.User!.SendMessageToUser(ident, data, ESteamNetworkingSendType.ReliableNoNagle, 0);

And the flat API is successfully called, at least:

[Verbose] Messages session ip:127.0.0.1:43000: created
[Bug] Cannot use P2P connectivity. CreateConnectionSignaling callback not set
[Bug] src\steamnetworkingsockets\clientlib\csteamnetworkingmessages.cpp(473): Failed to create connection to 'ip:127.0.0.1:43000' for new messages session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant