This is a test of sending unix file descriptors using recvmsg. Without 
this functionality Wine WILL NOT WORK on your platform. 

This works best with three shells/screens or even better xterms. I tried the script but it seems to not be very friendly so this method works. 

How to run the test -

  Terminal 1:

  make
  ./portlisten 10019 socket0

  Terminal 2:
  ./hellofdpass socket0 "hello, yes recvmsg with a fd works"

  Terminal 3:
  telnet localhost 10019

  And you should see something like the following
  'hello, yes recvmsg with a fd worksConnection Closed by Remote Host'
 
  Now clean up your mess
  killall portlisten
  killall hellofdpass
  rm socket0


Expected Results:
- All real Unixy OS's should pass, (FreeBSD, Linux, Solaris, MacOS X, etc)
- Windows should fail for (Cygwin, UWIN, Services for Unix 3.x, Subsystem for Unix applications in Vista should fail along with Windows Server 2003. 
- Newer Windows Server with SUA 5.x or 6.x may pass. This will require Windows 7 Beta or RC or Windows Server 2008/2009/2010, whatever they are calling it with SUA 6.x. 

