This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: socket.cxx (recvmsg()) problem
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Alperen Coskun <a_a_coskunoc at hotmail dot com>
- Cc: ecos discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 31 Oct 2007 05:19:07 -0600
- Subject: Re: [ECOS] socket.cxx (recvmsg()) problem
- References: <BAY121-W13CB2C887D95869B5CCCA8CC930@phx.gbl>
Alperen Coskun wrote:
> Hi all,
>
> I want to understand how athttp server receives data from the socket. I followed the related functions till;
>
> error = ops->recvmsg(fp,&msg,fromlen,&ret);
>
> which is in the function recvfrom() in socket.cxx. After that, I couldn't find where that function call is.
>
> It doesn't go to the function recvmsg() which is in socket.cxx. I searched for every recvmsg() functions in the packages but I couldn't find an appropriate one.
>
> Could anyone help me?
Look at it carefully - the function being called is not 'recvmsg', but
rather the 'recvmsg' member of the structure pointed to by 'ops'.
To find the real function being called, you'd have to know what this
value/address is.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss