http://bugs.winehq.org/show_bug.cgi?id=8533
------- Additional Comments From vladimiroski@gmail.com 2007-30-05 18:48 ------- Ok, I had trace the lines in the VB 6 code which produce the error: '............................... 'get a 32 bits long IP 134 lngAddressInternal = ResolveIfHostnameSync(strLocalHostInternal, strIP, lngResult)
136 If lngResult <> 0 Then 138 Err.Raise sckInvalidArg, "CSocketMaster.BindInternal", "Invalid argument" End If '............................... ResolveIfHostnameSync returns 0.
I did the "WINEDEBUG="+winsock" wine <whatever>" thing suggested by Damjan Jovanovic, the log produced is attached. Thanks all.