hi,
I have a gps device which sends it's position to a any web url. I want
to catch this info which I will send to a port (say 9000). How do I do
this in python - something totally new for me, so please give some clues
on where to begin.
--
regards
Kenneth Gonsalves
On Mon, 2010-10-18 at 17:10 +0530, Santosh Rajan wrote:
If i understood this correctly you specify the web url for the gps
device
right? Why not set the port in the url itself like
http://example.com:9000/.
I have done that
So the gps sends directly to port 9000 and you have a web server
On Mon, Oct 18 2010, Kenneth Gonsalves wrote:
[...]
the gps program sends the info with a php url - I need to collect the
info and massage it before sending it to the webserver for display. So
I need a small python program to listen on that port and collect
whatever comes (is it socket
On Mon, 2010-10-18 at 17:41 +0530, Noufal Ibrahim wrote:
From your description, it sounds like a you need a simple program
that
listens on this port which will accept anything that comes in, process
it and then send it to your actual web application. So, yes. this is a
program that uses a
On Mon, Oct 18, 2010 at 5:43 PM, Kenneth Gonsalves law...@au-kbc.orgwrote:
On Mon, 2010-10-18 at 17:41 +0530, Noufal Ibrahim wrote:
From your description, it sounds like a you need a simple program
that
listens on this port which will accept anything that comes in, process
it and then
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
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