socket.recv() question

Paul Schmidt pds at uberhacker.org
Fri Jan 28 13:27:41 EST 2000


Hello all,
      I am trying to parse data from an rwhois server, and it sends back
lines terminated by \012.  whenever I do a:

      results = sock.recv(1024)

I only get the first line in results, but I want the entire output, so
I can split it by lines and do other parsing things with the data.

How would I go about doing this?

Thanks,
-Paul

--
[Paul D. Schmidt....................][..................pds at enteract.com]

   The grass may actually be greener on the other side of the fence, but it 
   still has to be mowed.  --Anonymous



More information about the Python-list mailing list