예제 #1
0
 public void Connect()
 {
     TcpClient tcpClient = new TcpClient();
     tcpClient.Connect(IpAddress, Port);
     client = new InterClient(tcpClient.Client);
     client.OnPacket += new EventHandler<InterPacketReceivedEventArgs>(ClientOnPacket);
 }
 public InterPacketReceivedEventArgs(InterPacket packet, InterClient client)
 {
     this.Packet = packet;
     this.Client = client;
 }
 public InterPacketReceivedEventArgs(InterPacket packet, InterClient client)
 {
     this.Packet = packet;
     this.Client = client;
 }