| Dart Home | PowerTCP Telnet for .NET | Custom Development | Reply | PowerTCP Telnet for .NET Topics | Forums |
| Author | Forum: PowerTCP Telnet for .NET Topic: System.Net.Sockets.SocketException |
| cjo30080 From: Atlanta, GA USA Posts: 3 Member Since: 12/19/05 |
posted November 28, 2007 5:57 PM The last line of code below (ASP.NET v1.1) immediately throws the following error: "System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host" CODE: string strSend = "GET /logon/remote?cred=user(" + Session["SBLId"].ToString() + ")site(sub.sbl-site.org)" + "\n\r"; Telnet objTelnet = new Telnet(); objTelnet.ReceiveTimeout = 3000; objTelnet.Connect("logon.jstor.org", 80); Segment objSeg = objTelnet.Send(strSend); strURL = objTelnet.Receive().ToString(); I can confirm that the string provided in the objTelnet.Send() method (i.e. strSend) is authenticated and processed by the "remote host" when using the Windows command prompt to telnet to the same domain/port indicated above (note: permissions at the remote host have been provided for attempted connections from my specific IP). Any insight would be VERY much appreciated. The code above was working well, but we recently lost the ability to connect, and neither I, nor my contacts at the other end of the connection have a clue. Thanks in advance for your help! |
| Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted November 29, 2007 5:13 PM Hello, this request needs to be handled through our administrative procedures prior to response. Please contact sales@dart.com directly regarding this issue. Thank you. |
| cjo30080 From: Atlanta, GA USA Posts: 3 Member Since: 12/19/05 |
posted November 30, 2007 11:27 AM I contacted sales as suggested above and was informed that I would have to purchase additional support ($499 for 12 months) before Dart would respond to the question I posted because: "The question you have posted is one that will take a bit of time and resources". In my opinion, this contradicts Dart's advertising to potential customers regarding the support forum as one of Dart's support offerings. In addition, at the very least, Dart should be familiar with possible explanations for errors thrown by its own products. It's reasonable to expect that such knowledge was included in the price we paid for the component. Dart's product throws an error...Dart doesn't know the possible explanations for its error message...and I have to cough up 500 bucks for them to do the research? With all due respect, it feels like I'm being gouged. Maybe if I rephrase the question??? What are the possible explanations that the Recieve() method of Dart's Telnet object would throw the following error? "System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host" Any insight would be appreciated. |
| cjo30080 From: Atlanta, GA USA Posts: 3 Member Since: 12/19/05 |
posted November 30, 2007 5:00 PM Problem solved. The organization we're using this component to connect with informed us that they implemented new rules on their firewall which prevented authentication of the string parameter being sent using the telnet object's Send() method. Hence the error message "...An existing connection was forcibly closed by the remote host". They disabled the rule on the firewall, and we were back in business. Thanks to the folks at Dart...for nothing. |
| Reply | PowerTCP Telnet for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|