RevenantX / LiteNetLib

Lite reliable UDP library for Mono and .NET
https://revenantx.github.io/LiteNetLib/index.html
MIT License
3k stars 489 forks source link

Simple Peer-Peer communications program #505

Closed pmobley001 closed 1 year ago

pmobley001 commented 1 year ago

Hello all,

I have a quick question, I am looking to make a drop dead simple peer-peer communications program to test a device that I have working through Ethernet. All I need is to send commands and display the reply from the controller on a text box.

Anyways, to accomplish this, would I use this library to setup both a client and a server in my C# program so that the program can send out the commands and listen for the reply?

RevenantX commented 1 year ago

@pmobley001 for questions use please https://discord.gg/FATFPdy For simple communication (this is always p2p because UDP.): there is example: https://github.com/RevenantX/LiteNetLib/blob/master/LibSample/EchoMessagesTest.cs