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
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
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
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
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
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