On Mon, Oct 18, 2010 at 6:21 PM, Noufal Ibrahim <nou...@gmail.com> wrote:

> On Mon, Oct 18 2010, Anand Balachandran Pillai wrote:
>
>
> [...]
>
> > Or just use tcpdump as
> >
> > $ sudo tcpdump  -A 'port 9000'
> >
> > on the machine where you want to capture the data.
>
> [...]
>
> I've not used tcpdump but wouldn't this give you a TCP packet level
> dump? Would not netcat (netcat -l 9000) be more appropriate for textual
> data (which is, I assume, what the GPS device sends out).
>
> -A gives you a (ascii) text dump, which is pretty useful for capturing HTML
pages for example. This works very well for quick captures to debug
your local web server for example.


>
>
> --
> ~noufal
> http://nibrahim.net.in
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
--Anand
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to