Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Networking

When I run my program over a wireless connection the function WSAIoctl is returning an error code of 10022 which is "Invalid Argument". I have found out that it only occurs when the user is running the program over a wireless connection.

I am working with some copyrighted code so I cannot post it here, however, I have found another piece of code that has the same problem. The code can be found at: http://www.codeguru.com/Cpp/I-N/network/tcpip/article.php/c5413

Yes, I know that the author says that the code is only for windows 2000 and I am running it under XP, yet it gives the same error from the same function. So both pieces of code probably have the same problem.

Any help is greatly appreciated,
Chacham15
[747 byte] By [chacham15] at [2007-11-11 10:06:51]