Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] Reimplementation of GNAT.Sockets.Inet_Addr

Thursday December 11, 2008

The implementation of function Inet_Addr now uses the standard inet_pton(3) function instead of the legacy inet_addr(3) interface, which is deprecated and defective on some platforms. Note that on Linux, inet_pton enforces stricter syntax checks that inet_addr, which can cause an exception to be raised for syntactically incorrect arguments (e.g. including trailing white space) that used to be accepted.

 

Posted by Posted in Development Log, GNAT Compilation System