2014-08-01 update 1

This commit is contained in:
parallelbgls
2014-08-01 10:51:41 +08:00
parent 7395c43572
commit f2fcc3ca49
6 changed files with 822 additions and 912 deletions

View File

@@ -21,7 +21,7 @@ namespace ModBus.Net
/// Socket收发类
/// 作者本类来源于CSDN并由罗圣Chris L.)根据实际需要修改
/// </summary>
public class TCPSocket : IDisposable
public class TcpSocket : IDisposable
{
public delegate void ErrorShutdownEventHandler(object sender, EventArgs e);
@@ -38,7 +38,7 @@ namespace ModBus.Net
public int m_sendCount = 0;
private TcpClient m_socketClient;
public TCPSocket(string ipaddress, int port, bool isAsync)
public TcpSocket(string ipaddress, int port, bool isAsync)
{
host = ipaddress;
this.port = port;