Angus Robertson - Magenta Systems Ltd wrote:
>> There's an option to dynamically load a different winsock version at
>> runtime (see properties ReqVerHigh and ReqVerLow).
>> However loading v2.x requires winsock2 headers, and if we want IPv6
>> we must use winsock2 API. I think I'll keep these two properties as
>> dummies, they would no longer work, what do you think?
> Yes, leave the version properties, but ignore them.


"TcpSrv (c) 1999-2008 by Fran├žois PIETTE. V7.02
 TWSocket (c) 1996-2010 Francois Piette V7.39 
 TWSocketServer (c) 1999-2008 F. Piette V7.00 
 I am "asus"
 IP: 2001:db8::3

Waiting for clients...
Client connected. Remote: 2001:db8::3/1067 Local: 2001:db8::3/23
There is now 1 clients connected.
Received from 2001:db8::3: 'binary 128'"

But there's another problem with WSocket_WSAAsyncGetHostByName.
AKAIK, this old API doesn't support IPv6. New API GetAddrInfo() handles 
both IPv4 and IPv6 but it is blocking. Should I try to emulate asynchron
lookups using a thread? Ideas are welcome.

Arno Garrels

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to