Re: strnge pb with sockets

Olivier MARCE (alf@lifac6.uucp)
22 Feb 1995 11:39:40 GMT

Ok, sorry for the previous post, but ve found the answer.

Juste make a 'canal.makefile('r')'
and 'canal.shutdown(1)'.
then you can use 'f.readline()'

But :
1 - I don't understand the difference between the interactive
mode and the program mode

3 - looking at httplib.py, Guido use
while 1:
line = f.readline()
if not line:
break

Using this I have one more error message :

421 machine1.ens-cachan.fr Lost input channel to machine6

Thanks

--
Olivier MARCE			Tel : (33) 1 47 40 24 87	
LIFAC						   24 04
ENS Cachan			Fax : (33) 1 47 40 24 64
61 av du Pt WILSON
94235 Cachan Cedex	     e-mail : O.Marce@lifac.ens-cachan.fr
FRANCE
(la il faudrait que je rajoute l'URL de ma page, mais d'aucun
aurait tendance a croire que je ne fais que ca....)