StartPacketReceiver 

    Namespace: SynicSugar.P2P
    Class: ConnectHub

    public void StartPacketReceiver(PacketReceiveTiming receiveTiming = PacketReceiveTiming.Update, byte maxBatchSize = 1)

        public enum PacketReceiveTiming {
            FixedUpdate, Update, LateUpdate
        }
    

    Description 

    Start to get a packet from the receiving buffer.
    Need the Instance of each Class to get the packet.
    maxBatchSize is how many times during 1 FPS are received. If no packet, skip getting packet until the next frame.
    So, genarete the components by SynicObject, or set UserID in or after Unity.Start to Register the instanced to ConnectHub.
    NetworkComponents need call RegisterInstance in or after Unity.Start by hand.

    using SynicSugar.P2P;
    
    public class p2pSample {
        void ConnectHubSample(){
            ConnectHub.Instance.StartPacketReceiver();
        }
    }