How to install gypsy?

RANJAN infibit at
Thu Aug 13 19:51:56 CEST 2009

> That telnet localhost gpsd command simply makes a socket connection
> and prints what it receives, you don't need getpass, telnetlib or gzip
> python modules.  If I'm right you could even just pipe the socket into
> your program using bash
> ./python-program < /dev/tcp/localhost/2947

Yes I was looking into socket programming.This code does not output the gps
data :

import sys
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(('', 2947))
while True:
    line = s.recv(1024)

Any suggestion as to why it dint work?It compiles fine.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the devel mailing list