111,097
社区成员




private void sendrfiddata()
{
tcpClient2.ReceiveTimeout = 1000;
senddata.WriteLine("entrybalance," + "京A12345");
senddata.Flush();
byte[] Data = new Byte[400];
Int32 bytes;
while (true)
{
try
{
bytes = ns.Read(Data, 0, Data.Length);
string receiveData = Encoding.Default.GetString(Data, 0, bytes); break;
}
catch(Exception ex)
{
//do nothing
}
}
}