can i raise exception from inside a function in the 'try:' block when client disconnects from the server?

后端 未结 0 479
后悔当初
后悔当初 2020-12-30 18:59

im trying to build a simple server-client chatroom with python socket.

i have the following code:

def handle_connection(client):
    while(1):
                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题