[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] nobind gives: read UDP4: Invalid argument


  • Subject: Re: [Openvpn-users] nobind gives: read UDP4: Invalid argument
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Sun, 25 Jul 2004 09:14:46 -0000

Mathias Sundman <mathias@xxxxxxxxxx> said:

> When I use the --nobind option on my WinXP client with OpenVPN 2.0-beta7 I 
> get the following error before the connection is initiated with the 
> server:
> 
> read UDPv4: Invalid argument (WSAEINVAL) (code=10022)
> 
> The tunnel works perfect, I just wonder what causes this message. It has 
> been there since atleast 2.0-beta3. Probably with earlier version too.
> 
> It seems to me like openvpn tries to listen to a socket that does not 
> exist as we have not bound to a local port when I'm using --nobind.

Right, probably what's happening is that Windows doesn't bind to a dynamic
port until we've called sendto at least once.  So that error message comes
from the very first I/O wait on the socket.

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users