This preview shows page 1. Sign up to view the full content.
Unformatted text preview: break except: print 'Error getting readline' def recvthread(): while True: sys.stdout.write( buf.readline() ) firstT = threading.Thread(target = sendthread, name = "Sending Thread") secondT = threading.Thread(target = recvthread, name = "Receiving Thread") firstT.start() secondT.start() sock.close()...
View Full Document
This note was uploaded on 04/09/2008 for the course CSCI 4211 taught by Professor Sturtivant during the Spring '08 term at Minnesota.
- Spring '08