Hi all.
I am trying to use gloox-0.9-pre5 library in my application written in MSVS
under Win XP SP2, but i can't run any of examples from examples directory,
connection to server failed with error - connection refused (7).
After investigation I find that "getservbyname(...)" function returns with
error (in function DNS::HostMap DNS::defaultHostMap, dns.cpp line197).
WSAGetLastError return
WSANOTINITIALISED<windows_sockets_error_codes_2.htm#winsock.wsanotinitialised_2>
(10093).
Than I try to call *WSAStartup* <wsastartup_2.htm> before call of
getservbyname, but it failed again, and WSAGetLastError return
WSANO_DATA<windows_sockets_error_codes_2.htm#winsock.wsano_data_2>
(11004).
If I skip this function and manually fill HostMap object all works fine.
I am using gloox-0.9-pre5 because MUC functionality is needed.
What you suggest to do with this?
Sorry for my English, it is not my native language.