FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error with UDP-socket (Only in xHarbour!)
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Error with UDP-socket (Only in xHarbour!)
Posted: Fri Jan 15, 2016 12:50 PM
Over years this is functioning.
Code (fw): Select all Collapse
pSocket := INetDGramBind( nPort , , .T., cIP_M  )
After updating to BCC7 and FWH 15/12 i become socket error 10042. Everyone has also this problem?
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error with UDP-socket
Posted: Sat Jan 16, 2016 08:19 AM

Günther,

Have you tried to use bcc582 to check if that makes a difference ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Error with UDP-socket
Posted: Sat Jan 16, 2016 10:52 AM
Antonio, first i try return to the "old" xHarbour But the same.
Now i do as you say, but linkerrors: Maybe you can see rapidly the reason!? :-)

c:\bcc582\bin\ilink32.exe -Gn -aa -Tpe -s -I. -x @make.tmp
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '__ltolower_lcid' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '__ltoupper_lcid' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external 'std::_Locinfo::_Locinfo(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Error with UDP-socket
Posted: Sun Jan 17, 2016 05:44 PM

Antonio, now i can compile with "old" xHarbour. If i use 582 all is ok but when i use 7 then the error occurs! Maybe in xHarbour wrong headerfiles are using! (winsock.h/winsock2.h) There are the IP_ADD_MEMBERSHIP are not the same!?

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error with UDP-socket
Posted: Sun Jan 17, 2016 10:39 PM

Then it should be reported to the xHarbour devel group

thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Error with UDP-socket
Posted: Mon Jan 18, 2016 10:49 PM

I have reported to group!
In the meanwhile i ported to Harbour and the error is gone....... :D

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion