in reply to Ping from remote host which is a Windows server

I would use POE, though it's a whole framework and can be a bit heavy. It has very good Win32 support (imo) and there are two cookbook examples that directly apply to your requirement here and here. There's also many other examples on the docu site.

--Solo

--
You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
  • Comment on Re: Ping from remote host which is a Windows server