ok so my question here is i wrote a simple chat type like thing to just see if what i read was working.. anyway
on the server side once it hits the
Code:
clientsocket, address = serversocket.accept()
pythonwin dosent respond untill i actually connect with the client
its a TCP based socket SOCK_STREAM
it doest the same thing when i do it under linux as well
so i guess im just wonder is it because im using TCP that its hanging? is it waiting for the connection? could this be eliminated using udp or is their a way that i could check if a client was trying to connect and if not exacute more commands and then come back to check again after so long like a compare a count variable in a loop or something
any help is much appreciated