Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: 10057
Debug(1) AddExtender("wwwsk34I.dll") ;This is where I get a VALUE=>13567456 socket=sOpen() ;This is where I get a status of VALUE=>1 or "@TRUE" status=sConnect(socket,"127.0.0.1", "daytime") ;This is where I get a err of "0" err=wxGetLastErr() ;This is where I get a "WSock: Success" msg=wxGetErrDesc(err) Message("Winsock Error A %err%",msg) ;This is where I get an OK to continue while !sOK2Send(socket) counter=counter+1 ; do something endwhile ;This is where I get a "0" or @FALSE returned status=sSendString(socket,"Hello there!") ;This is where I get an err of VALUE=>10057 ;10057 WSAENOTCONN according to documentation? err=wxGetLastErr() msg=wxGetErrDesc(err) Message("Winsock Error A %err%",msg) sSendString(socket,@CRLF) data=sRecvLine(socket,256) Message( "Returned data is", data) sClose(socket) exit
Apparently your machines don't have the "daytime" port enables so maybe use that. Look at sListen and sAccept. One of them has the examples you need to get it working. I think in the examples I used ftp.
Ports go from 0 to 65535. Ports under something like 1000 are assigned to something or other. Ports over 1000 are used by the socket stuff. Pick a port under 1000 to use, and let the winsock stuff use the rest.
Most of them are for unix machines and for computer to computer communications where you control both side it does not matter too much, unless you land on one that windows uses.
(datasocket=sAccept(listensocket,@TRUE) ; Block for a connection)the hard drive was being accessed every 1.5 seconds. I also noticed that when I started up the "Connector Script" that the Win95 "DialUp Window" appeared on the first pass and after I canceled it, I received my quote. After the first quote, the "DialUp Window" stopped appearing. Is there anything that I can do about the disk access and the "DialUp Window"?
Article ID: W12629
Filename: Error 10057 WSAENOTCONN.txt
File Created: 2001:03:01:15:12:38
Last Updated: 2001:03:01:15:12:38