Error with UDP-socket (Only in xHarbour!)

Error with UDP-socket (Only in xHarbour!)

Postby byte-one » Fri Jan 15, 2016 12:50 pm

Over years this is functioning.
Code: Select all  Expand view
pSocket := INetDGramBind( nPort , , .T., cIP_M  )
 
After updating to BCC7 and FWH 15/12 i become socket error 10042. Everyone has also this problem?
Last edited by byte-one on Mon Jan 18, 2016 10:50 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Error with UDP-socket

Postby Antonio Linares » Sat Jan 16, 2016 8:19 am

Günther,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41937
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error with UDP-socket

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Error with UDP-socket

Postby byte-one » Sun Jan 17, 2016 5: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Error with UDP-socket

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41937
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error with UDP-socket

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests