determining how much data is on a socket
Z 3 Penguin
z3penguin at penguinpowered.com
Sat Dec 16 18:33:51 EST 2000
More information about the Python-list mailing list
Sat Dec 16 18:33:51 EST 2000
- Previous message (by thread): determining how much data is on a socket
- Next message (by thread): determining how much data is on a socket
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
is there any way to find out how much data is waiting on a given socket? my program reads 2 bytes from the socket to know how much more it needs to read. however, sometimes it reads those two bytes and pauses until the rest of the data comes in. i would like to know if the bytes are waiting before i read, so that if they are not, my program can continue and try to read it later. any ideas? -z
- Previous message (by thread): determining how much data is on a socket
- Next message (by thread): determining how much data is on a socket
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list