> Having some trouble porting some code from Delphi to FreePascal running
> on MAC OS X (power pc). On Delphi to set a socket non-blocking I would
> normally do:

Functions are prefixed by "fp", to avoid possible conflicts, and errorcodes
with "esys".  Constants and stuctures are not prefixed.

FIONBIO is defined in unit termio (these are not just for sockets under
*nix).  

IOCTLs are per definition non standard, so don't expect them (all) to be
portable. Also Windows sometimes names functions differently, because it
bases its network layer on pre-Posix definitions (or a Posix draft)

P.s. Note that Indy10 clients work on OS X (powerpc)

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to