RiptideNetworking / Riptide

Lightweight C# networking solution for multiplayer games.
https://riptide.tomweiland.net
MIT License
1.14k stars 144 forks source link

Server.MessageReceived dont work #112

Closed jackduang closed 1 year ago

jackduang commented 1 year ago

I want the server to send all client messages to the client after receiving the message

tom-weiland commented 1 year ago

Server.MessageReceived dont work

In what way does the MessageReceived event not work? I use it all the time without issues, so you'll have to elaborate on what the problem is.

I want the server to send all client messages to the client after receiving the message

Is this somehow related to the title? I don't understand the connection. Also, which client messages do you want to send to which clients? The Server.RelayFilter can be used to make the server automatically "forward" messages to all other connected clients, which might be what you're looking for.

tom-weiland commented 1 year ago

Closing this due to insufficient information and lack of responses.