Mingw doesn't like write() to socket

Marc Lehmann schmorp at schmorp.de
Thu Dec 9 10:57:06 CET 2010

On Thu, Dec 09, 2010 at 10:39:11AM +0100, "W.C.A. Wijngaards" <wouter at NLnetLabs.nl> wrote:
> > I don't really test much on vista, the tcp stack seems to be near to
> > unusable on that box.
> On vista, sockets work much like XP, I tested that.

Well, vista breaks (standard) perl, and broke firefox at one point,
because getsockname and getpeername don't agree on both sides of a local
connection for example.

I personally measured this on a connection to localhost for example:

   port of getsockname client == 53364
   port of getpeername client == 53363
   port of getsockname server == 53363
   port of getpeername server == 53365

I also had (verified) reports of getprotobyname or socket() failing and
many other weird issues.

This definitely didn't happen on XP.

That will probably not affect libev directly, but Vista and TCP/IP don't
seem to work together :)

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list