driver_test.c for windows

Jouni Malinen j
Wed Jan 11 21:26:47 PST 2012

On Wed, Jan 11, 2012 at 08:14:35AM -0800, Zahraa Salah wrote:
> Im trying to compile driver_test.c  on windows using VS and it seems
> that this file uses linux specific code (iovec, msghdr, sendmsg)

Correct (or well, not really Linux specific, but anyway, something that
Windows may not support).

> Is there a version that can be used for windows? Else is there any
> missing compiler flags in the file?


> What should I do to make it compile on windows?

That could potentially work under cygwin, but other than that, you would
need to port that code into more Windows friendly form. It was not
designed for this.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list