[zeromq-dev] inet_ntop is not available in Windows XP

Dimiter 'malkia' Stanev malkia at gmail.com
Thu Feb 16 19:43:28 CET 2012

	Hi guys,

	In short: inet_ntop is not available in Windows XP.

	I'm maintaining a side project, where I have luajit ffi bindings for 
zeromq, and support them for osx, windows, linux, etc.
One of my platforms is "Windows XP", and I use "Windows DDK", now called 
just WDK, so I can target MSVCRT.DLL (mingw for example also targets it).

	Anyway, a week or more ago a change has been introduced that relies on 
inet_ntop (src/tcp_listener.tcp), and that function is not available on 
Windows XP. For now I can sync to earlier version that that one, and 
keep going (I'm still learning zeromq, so it's not critical for me).

	But there is alternative for inet_ntop (I quickly googled), and here it is:

	I'm just not experienced enough with zeromq's code base to provide a 
patch, hence I don't ever expect this to get fixed, but thought that 
other people might be affected. (Then again who would used Windows XP 
still :))

	Dimiter 'malkia' Stanev.

More information about the zeromq-dev mailing list