We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81699e5 commit 0a4e650Copy full SHA for 0a4e650
ChatServer.py
@@ -102,10 +102,6 @@ def groupChat(self, data):
102
userList = [user for user in Handle.usernames]
103
self.sendSocketToUsers(userList, data)
104
105
- def broadChat(self, data):
106
- """组播"""
107
- pass # 组播是客户端对多客户端的模式,不用服务器处理
108
-
109
def logout(self, data):
110
"""登出"""
111
print "用户"+ Handle.usernames[self.user] +"登出"
@@ -120,7 +116,6 @@ def __main__(self, data):
120
116
"list": self.list,
121
117
"singleChat": self.singleChat,
122
118
"groupChat": self.groupChat,
123
- "broadChat": self.broadChat,
124
119
"logout": self.logout
125
}
126
try:
0 commit comments