2014-08-01 update Change linker field
This commit is contained in:
@@ -6,15 +6,12 @@ namespace ModBus.Net
|
||||
{
|
||||
public class TcpProtocalLinker : ProtocalLinker
|
||||
{
|
||||
private static TcpSocket _socket;
|
||||
private TcpSocket _socket;
|
||||
|
||||
|
||||
public TcpProtocalLinker()
|
||||
{
|
||||
if (_socket == null)
|
||||
{
|
||||
_socket = new TcpSocket(ConfigurationManager.IP, int.Parse(ConfigurationManager.Port), false);
|
||||
}
|
||||
_socket = new TcpSocket(ConfigurationManager.IP, int.Parse(ConfigurationManager.Port), false);
|
||||
}
|
||||
|
||||
public override byte[] SendReceive(byte[] content)
|
||||
|
||||
Reference in New Issue
Block a user