[twsocket] Firemonkey on OSX

2017-02-18 Thread Bill Florac
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 FEx

[twsocket] TSockAddrIn not defined on FMX/Windows

2017-02-18 Thread Bill Florac
If I use a TWSocket in a FireMonkey desktop application, compiled for MSWINDOWS and then use ReceiveFrom function I get a "Undeclared identified" error when I define a variable of type TSockAddrIn. I can resolve this by adding OverbyteIcsWinsock into my uses clause. Which is OK until I switch and u

Re: [twsocket] Firemonkey on OSX

2017-04-06 Thread Bill Florac
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, occas

[twsocket] LocalIPList on Mac

2017-12-19 Thread Bill Florac
the local loop back is only return on the Mac, not windows. Bill Florac -- 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] LocalIPList on Mac

2017-12-21 Thread Bill Florac
Angus I'm not sure I am verse enough at the lower level code to offer an opinion as to what is "correct" or not. However, just in case someone sees this in a future thread search, here are my thoughts: 1) It seems that IcsGetInterfaceList() would fail if, for some odd reason, the computer only

Re: [twsocket] LocalIPList on Mac

2018-01-20 Thread Bill Florac
Angus, I finally got around to test this. I attached a spreadsheet with the results. I ran LocalIPList() with each socket family option. I also showed the results of IcsGetInterfaceList(). PC is running windows 10, Mac is running High Sierra LocalIPList: MAC - Missing second IPv4 address if cal