How about using WSAStringToAddress instead? This function exist on all versions of Windows, and do exactly what you expect convert a string to an address.

  george.

On May 27, 2009, at 10:32 , shiq...@osl.iu.edu wrote:

Author: shiqing
Date: 2009-05-27 10:32:30 EDT (Wed, 27 May 2009)
New Revision: 21295
URL: https://svn.open-mpi.org/trac/ompi/changeset/21295

Log:
Microsoft doesn't provide inet_pton and inet_ntop APIs on Windows XP, but only on Windows Vista and 2008. So add a stand alone version of inet_pton and inet_ntop functions from ISC.
Added:

Reply via email to