Skip to content

Commit 0a4e650

Browse files
author
Hurray0
committed
first commit
1 parent 81699e5 commit 0a4e650

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ChatServer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ def groupChat(self, data):
102102
userList = [user for user in Handle.usernames]
103103
self.sendSocketToUsers(userList, data)
104104

105-
def broadChat(self, data):
106-
"""组播"""
107-
pass # 组播是客户端对多客户端的模式,不用服务器处理
108-
109105
def logout(self, data):
110106
"""登出"""
111107
print "用户"+ Handle.usernames[self.user] +"登出"
@@ -120,7 +116,6 @@ def __main__(self, data):
120116
"list": self.list,
121117
"singleChat": self.singleChat,
122118
"groupChat": self.groupChat,
123-
"broadChat": self.broadChat,
124119
"logout": self.logout
125120
}
126121
try:

0 commit comments

Comments
 (0)