[Click] receiving data into a buffer
Beyers Cronje
bcronje at gmail.com
Wed Jan 30 05:38:23 EST 2008
Socket element stores the data in a Click Packet. Read-only access to the
data in your element is through Packet::data(), write access to the data
through WritablePacket::data(). To get a WritablePacket you can call
Packet::uniqueify()
On Jan 30, 2008 5:27 AM, sam barker <sam.barker0 at gmail.com> wrote:
> Hi,
> How can I receive the incoming data from a socket into a buffer.
> How can I specify in the config file
> Socket(TCP, 127.0.0.1,1322) ->..?
> For example if I send 128 bits to click,how can I store it in a buf[like
> char type ] so that I can use it with an element;
>
> Cheers,
> Sam
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list