getting context stats before acutally writing it to wire.

Mathew Pham <[email protected]>
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>

HI, 
I was wondering is there a way to obtain the stats of packet, before writing it to the wire ? for example I want the size in bytes of a packet before I write it.

The purpose of this is so I can queue packets in a context queue to a certain size.  When the size of the packets in the queue reaches a certain limit, then I will write the whole queue to wire.

I've seen libnet_stats but not sure how to use it, some help please ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.