Hi,<br><br>I am using Winpcap to capture RTP packets.<br>I want to add a wav header to it.I cannot really pre-append a header at the very beginning because I do not know the length of the wave file until I I get all RTP packets... <br> <br>So, right now, after I dump the whole capture to the file, I write header into a separate file and then copy the dumped RTP into that file as well.<br><br>So, it is: WINPCAP->FILE A, HEADER-> FILE B, FILE A->FILE B.<br><br>This is really inefficient and eats a lot of memory. How can I pre-append a wav header to the file being dumped by winpcap?<br><br>Is there a function in winpcap that will allow me to define this ahead of time and just let winpcap take care of this?<br><br>Thanks,<br>Vic<br><br><br>
<div style="line-height: 0; width: 0; height: 5px; clear: both;"> </div>