Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: sConnect proxy servers
wwwsk32I.DLL - version 1.0.0.1 date: August 20, 1997 winsock.DLL - Version 4.000.950 date: July 11, 1995I have modified the script to this.
socket = SOPen() Sconnect (socket, "gauntlet1", "telnet")and also I tried:
SConnect (socket, "gauntlet1", "23")
Our Telnet example is tailored to a particular telnet setup. It may need to be modified for different host machines.
Error 12 is: Host computer refused to connect, possibly because it doesn't support the requested service.
Try a more fully qualified host name, and check which DNS servers the machines are using. For example, try a hardcoded IP address "123.321.123.1" or something instead of the hostname.
Note that when I do it directly with c:\windows\telnet.exe, I have no problem going through the proxy.
On my script, I have started telnet.exe and Sconnect at same time. telnet.exe makes connections without any problem, but SConnect call gives me error 12.
There are different proxy authentication protocols. You have to figure out which one your server uses and emulate it.
Article ID: W12669
Filename: sConnect and Proxy Servers.txt
File Created: 2001:03:01:15:07:40
Last Updated: 2001:03:01:15:07:40