PeerBase
How do I use Peer Base
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
28 | public SocketUdp(PeerBase npeer) : base(npeer) | 1 |
File name: SocketUdp.cs
Copy
28 public SocketUdp(PeerBase npeer) : base(npeer)
29 {
30 if (this.ReportDebugOfLevel(DebugLevel.ALL))
31 {
32 this.Listener.DebugReturn(DebugLevel.ALL, "CSharpSocket: UDP, Unity3d.");
33 }
34
35 this.Protocol = ConnectionProtocol.Udp;
36 this.PollReceive = false;
37 }
PeerBase 122 lượt xem
Gõ tìm kiếm nhanh...