WSARecvMsg

From: Sam Hobbs (samuel_at_social.rr.com_change_social_to_socal)
Date: 05/03/04


Date: Mon, 3 May 2004 15:10:38 -0700

After searching everywhere I could for a sample of WSARecvMsg, and after
struggling to understand the documentation, and in spite of errors in the
documentation, I did get it to work. At the moment, I don't have a network
to test it with, but I assume the loopback address is sufficient. I put a
copy of my test program in my web site; see:

http://simplesamples.info/Networking/WSARecvMsg.php

I need to improve the description in the web page but I hope the (simple?)
sample code will help others. At the bottom of the page is a zip file with a
VC 6 project. That program is my test program and is also not the
best-written program. I am interested in any comments anyone has. I am
certainly especially interested in any improvements the experts have to
suggest.



Relevant Pages

  • netgraph(3) NGM_KSOCKET_BIND
    ... I am trying to do some netgraphcoding in ... userland. ... From how I read the documentation, ... The attached test program returns, ...
    (freebsd-net)
  • Re: netgraph(3) NGM_KSOCKET_BIND
    ... >> userland. ... From how I read the documentation, ... >> The attached test program returns, ... care I forgot to set sin_len. ...
    (freebsd-net)
  • Re: Pointer to vector element
    ... > Does a pointer to an element of a vector remain valid after calling ... You cannot 'prove' this sort of proposition with a test program. ... There is no substitute for reading the documentation. ...
    (comp.lang.cpp)
  • Re: first time using direct access files: recl ??
    ... if all else fails, write a short test program, examine output. ... (sometimes the documentation is obscure) ...
    (comp.lang.fortran)
  • Re: Is it difficult to read UTF-8 .txt in VC++?
    ... you might consider the routines on my web site: ... There is also a test program, which loads and saves text lines in UTF-8, ...
    (microsoft.public.vc.language)