Python 2.6 Chat Loop Issue. Cant Receive And Send Simultaneously
Im trying to make a console chat program, but have a problem with my loop. I cant get input and receive the other persons input at the same time. If two message or more are sent from one end, the other end cant receive the next message until after it sends one. Im fairly new to python, and was looking for a nudge in the right direction. Ive thought of multi-threading, but thats a little outta my grasp atm. Any other ideas? import EncMod from socket import * #Get User Info Ip = raw_input('IP>>>') Port = int(raw_input('Port>>>')) User = raw_input('Username>>>') #Open Socket To Server EncCon =