 | Replace line nResult = ws_connect(hSocket, @cBuffer, Len(cBuffer))
with DECLARE INTEGER WSAConnect IN ws2_32; INTEGER s, STRING @sname, INTEGER namelen,; INTEGER lpCallerData, INTEGER lpCalleeData,; INTEGER lpSQOS, INTEGER lpGQOS
nResult = WSAConnect(hSocket, @cBuffer, Len(cBuffer), 0, 0, 0, 0)
It may work better. |  |