Why I'm yao Ming set up before running the client information class name, assign a value to it, but the client after the operation to understand the service side, but didn't get the name server?
CodePudding user response:
Print server there is null
CodePudding user response:
Code line 32 print is null, because your m object is new, not out of the flow
CodePudding user response:
Can refer to: https://blog.csdn.net/x2570799116/article/details/77583595 This article, the use of the Socket and flow of people to chat