Socket?????????????????
???????????? ???????[ 2013/11/22 15:54:32 ] ????????
public interface IServer
{
//?????
void Init(string serverIp?? int port);
//????????????????????????
void Send(string connId?? byte[] data?? int length);
//????
int Listen();
//????????????
List<IConnection> GetConnectionList();
//Socket???
event ReceivedHandler OnDataReceived;
event SocketErrorHandler OnSocketError;
void Close();
}
??????????????????????????SocketInfo????????????????????????????????л???XML????С?
???л?????????£?
[Serializable]
public class SocketInfo
{
public string Name { get; set; }
//Server???????????
public string Type { get; set; }
//16????????AscII
public string Format { get; set; }
public string ServerIp { get; set; }
public int Port { get; set; }
//TCP??UDP
public string Protocol { get; set; }
//????????
public string Data {get;set;}
//??????????????????
public Boolean IsAuto {get;set;}
public SocketInfo()
{
Format = "AscII";
Protocol = "Tcp";
Port = 8890;
ServerIp = "127.0.0.1";
Data = "????????????";
}
}
|
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44