Re: [twsocket] Firemonkey on OSX
> It is all still down, both wiki.overbyte.be and svn.overbyte.be are not accessible by name They are accessible except for the last hour because I had to do some maintenance on the server (I'm my own hosting company). Please try again... I do my best. Remember everything is done on a voluntary basis. I'm NOT paid for anything related to ICS. I support all costs myself. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> If it's still not working add a line to the HOSTS file: > 217.146.102.149 svn.overbyte.be > > It is all still down, both wiki.overbyte.be and svn.overbyte.be > are not accessible by name SVN is still up on the IP above or sites9.magsys.co.uk which is the real host name on my server. But the server running the Overbyte web site and wiki seems to be down at the moment, and while DNS for www.overbyte.be works, svn.overbyte.be fails, so it looks like the DNS hosting company has messed up. This was all working last week. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> Can we get a heads up when SVN is up and running again, please? >SVN was never down, there was a DNS problem with svn.overbyte.be which was >fixed last Tuesday as François announced here. >If it's still not working add a line to the HOSTS file: >217.146.102.149 svn.overbyte.be It is all still down, both wiki.overbyte.be and svn.overbyte.be are not accessible by name -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> Can we get a heads up when SVN is up and running again, please? SVN was never down, there was a DNS problem with svn.overbyte.be which was fixed last Tuesday as François announced here. If it's still not working add a line to the HOSTS file: 217.146.102.149 svn.overbyte.be Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> -Original Message- > From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd > Sent: Friday, April 7, 2017 10:46 AM > To: twsocket@lists.elists.org > Subject: Re: [twsocket] Firemonkey on OSX > > > It seems that svn is not working or at least on my system but I was > > able to get the latest (436) in ZIP format. > > The DNS was messed up for a few days, but SVN is zipped at 11pm each day and also available for download. > > Angus Hello Angus, Can we get a heads up when SVN is up and running again, please? Just to confirm , SVN address for version 8 is still: http://svn.overbyte.be:8443/svn/ics/trunk Correct? Thanks & regards, Ertan Küçükoğlu -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> It seems that svn is not working or at least on my system but I > was able to get the latest (436) in ZIP format. The DNS was messed up for a few days, but SVN is zipped at 11pm each day and also available for download. > With the changes listed below, I had no problems compiling the > code. Thanks, will add them shortly. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
It seems that svn is not working or at least on my system but I was able to get the latest (436) in ZIP format. With the changes listed below, I had no problems compiling the code. I was able to run the app on a mac (Sierra 10.12.3). I was a able to send and receive UDP packets. However, occasionally I was getting an error 35 (Resource deadlock avoided?) on receive. I'll have to find some time to track this down. Bill OverbyteIcsSocket.pas I don't recall the exact condition but there is a case of unit order priority that required me to further change Line 1441: TSockAddr = sockaddr_in; { V8.42 assists cross platform use } Is better if like this: TSockAddrin= sockaddr_in; { V8.42 assists cross platform use } //wrf - changed TSockAddr to TSockAddrin OverbyteIcsSSLEAY.pas DWORD is not defined Line 178: Posix.Errno, Needs to be: Posix.Errno, System.Types, //wrf - added System.Types to define DWORD Posix TOSSLImports record needs to be PWideChar (at least on OSX) Line 317: TOSSLImports = record { V8.35 } F: PPointer; // function pointer N: PAnsiChar; // export name MI: LongWord; // minimum OpenSSL version MX: LongWord; // maximum OpenSSL version end; Needs to be: TOSSLImports = record { V8.35 } F: PPointer; // function pointer {$IFDEF POSIX} N: PWideChar; // export name //wrf {$ELSE} N: PAnsiChar; // export name {$ENDIF} MI: LongWord; // minimum OpenSSL version MX: LongWord; // maximum OpenSSL version end; define for IcsVerifySslDll needs to wrapped with {$IF} (actual procedure is already wrapped) Line 1689: procedure IcsVerifySslDll (const Fname: string); Needs to be: {$IFDEF MSWINDOWS} //wrf procedure IcsVerifySslDll (const Fname: string); {$ENDIF} -Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: Friday, March 3, 2017 12:19 PM To: twsocket@lists.elists.org Subject: Re: [twsocket] Firemonkey on OSX > To get TWSocket to compile under OSX (FMX) and Windows These changes are now in V8.42 in SVN, but I don't have any Apple hardware without which Delphi will not allow me to even build OSX packages, so can not test anything. If you could try and build the packages for OSX when you have a moment it would be appreciated. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> To get TWSocket to compile under OSX (FMX) and Windows These changes are now in V8.42 in SVN, but I don't have any Apple hardware without which Delphi will not allow me to even build OSX packages, so can not test anything. If you could try and build the packages for OSX when you have a moment it would be appreciated. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Firemonkey on OSX
> To get TWSocket to compile under OSX (FMX) and Windows I always build FMX packages before submitting changes to SVN, so ICS always compiles OK. However I've not tested Windows FMX functionality for a long time, don't use FMX in any applications or demos, and I never test MacOS, since I've never owned any Apple products. So FMX errors can creep in, I'll fix these in early March once the SSL stuff is finished. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Firemonkey on OSX
To get TWSocket to compile under OSX (FMX) and Windows Line 6611 FErrorMessage := SocketErrorDesc(FErrorCode); Should be FErrorMessage := WSocketErrorDesc(FErrorCode); The code at line 9718 should be excluded for POSIX {$IFNDEF POSIX} if FExclusiveAddr then begin { V8.36 Prevent other applications accessing this address and port } optval := -1; iStatus := WSocket_Synchronized_SetSockOpt(FHSocket, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, @optval, SizeOf(optval)); if iStatus <> 0 then begin SocketError('setsockopt(SO_EXCLUSIVEADDRUSE)'); Close; Exit; end; end; {$ENDIF} Line 10594 RaiseException(Line, Error, SocketErrorDesc(Error), FriendlyMsg, sockfunc, FAddrStr, FPortStr, FProtoStr); { V5.26 } Should be: RaiseException(Line, Error, WSocketErrorDesc(Error), FriendlyMsg, sockfunc, FAddrStr, FPortStr, FProtoStr); { V5.26 } -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be