In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>i think it may be,
Moral: don't use arbitrary values as booleans.
--
http://mail.python.org/mailman/listinfo/python-list
i think it may be,
i am just doing a while 1: loop to just wait for whatever comes in.
thanks
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>databack = sockobj.recv(1028)
>if databack:
> print 'caught a message %s bytes ' % len(databack)
>else:
> print 'fail to recieve data from server'
>
>the output in the terminal runs fine until it fails to get the
>databack, it
lo there all !
i finally got my script to receive info on a socket. but i need to
somehow set up a loop that will continue to listen for more info
comming across the same socket.
the way it works is, i log in with a login and password, it shoots back
an acknowlagement, then i send a request for d