FM Network UDP

Description
It’s a Server-Clients networking system for LAN.
It supports string and byte[] streaming.


Basic Setup

All the communication between Server, Clients is via FM Network Manager.
It requires one Server in your whole connection, as it’s Server-Clients based networking system

1. Create a new GameObject in your scene, and name it “FM Network Manager”.
2. Add Component FMNetworkManager.cs

3. Choose Network Type: Server, Client


4. enabled Auto Init is recommended, which will automatically start the connection in runtime.
5. you may also connect them manually as alternative via script.

FMNetworkManager.instance.Action_InitAsServer();
FMNetworkManager.instance.Action_InitAsClient();