> Alexander Todorov schrieb: > > > > I have tried working with sockets using either of the fields (with or > > without sin_ prefix) and of course it works? Why is it there I am > > wondering? > > Compatibility: e.g. posix and delphi might use different names for the > fields. So the unit supports posix as well as delphi style naming.
... this mostly to enable easy conversion of *nix C examples. This was one of the lessons of the 1.0.x RTL, a non systematic naming really complicates converting examples/code. So the few renames that are still there (like the fp* prefix of functions and always having p<x> and t<x>) are systematic. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal