This project has moved. For the latest updates, please go here.

TcpClient, an established connection was aborted.

Developer
Jul 20, 2012 at 11:22 PM

Hello,

     I'm working on openPDC stream handler and used examples of code from:

            "Device to Data in 5 Easy Steps"  guide. 

     My connection string is:                 "transportprotocol=Tcp;server=192.168.X.X:4712;interface=0.0.0.0;islistener=False;accessID=5";

    And terminal output:

             Attempting connection...

             Initiating IEE C37.118-2005 TCP based connection...

             Connection attempt 1 failed due to exception: System.Net.Sockets.SocketExteption <0x800004005>: An establisehed connection was aborted by the software in your host machine at Sockets.Socket.BeginReceive(buffer,offset,size,flags,callback.state) TcpClient line 1106, next line 978, next line 828.

  Firewall is not an issue in this case.

  Your advice in how to approach this issue will help.

Thank you,

Denis.