
ActiveX Object - MSWinsock.Winsock
hi!
I want to use the ActiveX Object "MSWinsock.Winsock" in JavaScript to
download data from a server.
The connection works fine, and it also send data to the server.
But i can't receive anything.
after :
var receivedData = "";
objSocket.GetData(receivedData)
the string receivedData is still empty but BytesReceived returned that
data's are received by the winsock.
In VB i need to use the callback function DataArrival ... does this function
also exist in JavaScript ?
Or has anyone an idea on how to use this GetData function correctly ?
Thanks for the help and
cu, JNS