I have a client program as follows and I need to make it multithreaded i.e one thre开发者_如何学Pythonad per connection. But the variable sockfd is to be kept global to one thread. I understand to do
my program makes a random name that could have a-z this code makes a 16 char name but :( my code wont make the name and idk why :( can anyone show me what\'s wrong with this?