00001
00002
00003
00004
00005
00006 namespace NewGamePhysics.Networking
00007 {
00008 using System;
00009 using System.Net;
00010 using System.Net.Sockets;
00011
00015 public class InfoLinkNetBase
00016 {
00020 public const int InfoLinkNetDefaultPort = 10321;
00021
00025 internal UdpClient udpClient;
00026
00030 internal IPEndPoint endPoint;
00031
00035 internal int port = 0;
00036
00040 private bool connected = false;
00041
00045 public int Port
00046 {
00047 get { return this.port; }
00048 }
00049
00053 public bool Connected
00054 {
00055 get { return this.connected; }
00056 set { this.connected = value; }
00057 }
00058 }
00059 }