markiodev / Networker

A simple to use TCP and UDP networking library for .NET. Compatible with Unity.
MIT License
477 stars 77 forks source link

Connect via TCP and UDP and also multiple listeners? #12

Closed MostHated closed 6 years ago

MostHated commented 6 years ago

Hello there, I was wondering if a client is able to connect via both TCP and UDP at the same time allowing you to determine which message types you would like to send over each connection? Also, is it possible to have multiple listeners setup on the server side for more than one port? I wanted the interconnecting servers to connect to one port and clients to connect on another and the messages get handled differently based on what port the connection came in on.

Thanks!

markiodev commented 6 years ago

Hey @MostHated - All of the things here should be supported already. Hopefully this example will point you in the right direction. If not, feel free to make a new repo and point me to any issues you have.