2014-08-25 update 1

This commit is contained in:
parallelbgls@outlook.com
2014-08-25 16:21:57 +08:00
parent ad05e3f770
commit aa1cbf85ba
6 changed files with 421 additions and 4 deletions

View File

@@ -17,6 +17,11 @@ namespace ModBus.Net
_socket = new TcpSocket(ConfigurationManager.IP, int.Parse(ConfigurationManager.Port), false);
}
protected TcpProtocalLinker(string IP)
{
_socket = new TcpSocket(IP, int.Parse(ConfigurationManager.Port), false);
}
public override byte[] SendReceive(byte[] content)
{
//接收数据