Hello,
 
One of my colleagues 
asked me this question and was wondering if anyone could help me... 
 
 
We are using the 
tshark command to convert the PCAP to text format. However, we would want to 
know if there is a programmatic API to do the same conversion as it is very slow 
every time we get a packet to run this system command and perform this 
conversion.
 
We want to do it 
from one of the application which is currently capturing the packets using JPCAP 
and wants to convert it to text for analysis.
 
 
Appreciate your help,
martin