kioslave win32 port start

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Dec 1 16:54:57 CET 2006


Ralf Habacker schrieb:
> Hi all,
> 
> I was trying to port kioslaves to win32 and got some result (klauncher 
> got 'new slave' request), but then I recognized some major network 
> related problems which are hard to follow with gdb. May be someone with 
> msvc and the graphical debugger can give some enlightment what's going 
> wrong.
> 
> All the kdecore/network/tests applications fails and it looks that no 
> host name resolution, binding and listening to a tcp port does not work 
> as well.
> 
> F:\daten\kdelibs-build\kdecore\network\tests>resolution www.heise.de http
> Attempting synchronous resolution
> Resolution failed: unknown error
> 
> Attempting asynchronous resolution
> Resolution failed: unknown error
> 
> F:\daten\kdelibs-build\kdecore\network\tests>socketdevicetest.exe
> Using stream sockets
> Testing creation of a server socket
> Trying to bind to [0000:0000:0000:0000:0000:0000:0000:0100:]:0
> Failed to bind to [0000:0000:0000:0000:0000:0000:0000:0100:]:0
> Trying 0.0.0.0:0
> Failed as well
> 
> F:\daten\kdelibs-build\kdecore\network\tests>serversockettest.exe b 
> 127.0.0.1 99
> Object::connect: No such signal 
> KNetwork::KServerSocket::bound(KResolverEntry)
> Socket got error 1
> Socket has closed
> 
> Any help is apprecated.
The problem is m_serv in
int res = getaddrinfo(m_node, m_serv, &hint, &result);

WSAGetLastError() is WSATYPE_NOT_FOUND (10109) 	
-->
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/wsagetlasterror_2.asp

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20061201/c9412793/attachment.pgp 


More information about the Kde-windows mailing list