0

I'm using the function 'Str2UnixSockAddr' from the sockets unit in Freepascal for programming unix-domain-sockets. But I ever get the warning that is marked as deprecated. What is the replacement for that function that is not deprecated?

Stefc
  • 73
  • 6
  • I think it was deprecated only because it was shortstring, and a replacement was not yet added. IOW when it is fixed only the warning will go away, and it will take the ansistring variant. – Marco van de Voort Dec 19 '13 at 10:26
  • It's fine working for me but i'm a little surprised about the Deprecated state on that function. – Stefc Dec 20 '13 at 08:15
  • I think there also was a discussion about moving unix socket helpers to unit unix (since sockets is theoretically wholly portable). – Marco van de Voort Dec 21 '13 at 17:36
  • move it without deprecated to the unix, osx unit would make it clearer, that would be fine – Stefc Jun 10 '14 at 06:31

0 Answers0