Re: Incoming/Sent traffic data
От | Maciek Sakrejda |
---|---|
Тема | Re: Incoming/Sent traffic data |
Дата | |
Msg-id | BANLkTi=6=_OYH0yM-YVEg4GNONZ3rMFumg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Incoming/Sent traffic data (Israel Ben Guilherme Fonseca <israel.bgf@gmail.com>) |
Ответы |
Re: Incoming/Sent traffic data
|
Список | pgsql-jdbc |
>Macieck -> >A much more portable solution indeed. Sure, but there's trade-offs--you have to reinvent the wheel (or find existing reimplementations of the different pieces of the wheel). >Macieck, another question about the wireshark. > Is there any way to control it from a java code? You don't want to control a GUI program from another program if you can help it. Wireshark relies on libpcap, a library for listening to (and interpreting) network traffic. Jpcap [1] is a Java wrapper for libpcap. You *should* be able to do everything you need through Jpcap. It doesn't understand the PostgreSQL wire protocol like Wireshark does, but if you need to do that, it might be easier to write your own wrapper rather than try to control Wireshark programmatically. [1]: http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/ Thanks, --- Maciek Sakrejda | System Architect | Truviso 1065 E. Hillsdale Blvd., Suite 215 Foster City, CA 94404 (650) 242-3500 Main www.truviso.com
В списке pgsql-jdbc по дате отправления: