views:

28

answers:

2

I'm trying to make a simple HTTP sniffer (like HTTPFox) development testing purpose. HTTPFox is good enough, but I should automate some kind of test. (No detail yet) But I have no idea how to do this.

What kind of API or libs do I should use to do this on Mac?

Cocoa will be great but any lower level ways are welcome.

+2  A: 

Use libpcap/tcpdump. http://www.tcpdump.org/

buratinas
A: 

Hello, you can use many free & commercial HTTP sniffers available on the market. For example the HTTP Debugger Pro.

Web developer