Client.cs
858 字节
using System;
namespace Asa.RFID
{
internal class Client
{
public bool Loop;
public string IP;
public bool IsConn;
public System.Collections.Generic.List<byte> Buffer;
public System.Net.Sockets.Socket Socket;
public System.Threading.Thread ListenNet;
public Client(string ip)
{
Loop = false;
IP = ip;
IsConn = false;
Buffer = null;
Socket = null;
ListenNet = null;
}
public Client(string ip, System.Net.Sockets.Socket socket, System.Threading.Thread listenNet)
{
Loop = true;
IP = ip;
IsConn = true;
Buffer = new System.Collections.Generic.List<byte>();
Socket = socket;
ListenNet = listenNet;
}
}
}