Andreas, what needs fixing?
The whole ssfpc.inc needs to be refactored to be more like sslinux.inc (including using get getaddrinfo instead of the older gethostname). I think that's not a 'small' fix.
I don't even know when sslinux.inc is used?
For Mac OS?
Not sure why sslinux.inc wasn't used for FPC-Linux.
sslinux.inc does even have IFDEF FPC in it, but it would NEVER get to there in FPC.
{$IFDEF CIL}
{$I ssdotnet.inc}
{$ELSE}
{$IFDEF MSWINDOWS}
{$I sswin32.inc}
{$ELSE}
{$IFDEF WINCE}
{$I sswin32.inc} //not complete yet!
{$ELSE}
{$IFDEF FPC}
{$IFDEF OS2}
{$I ssos2ws1.inc}
{$ELSE OS2}
{$I ssfpc.inc}
{$ENDIF OS2}
{$ELSE}
{$IFDEF POSIX}
{$I ssposix.inc} //experimental!
{$ELSE}
{$I sslinux.inc}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}