changingself / simuqq Goto Github PK
View Code? Open in Web Editor NEW基于LAN的即时通讯软件
基于LAN的即时通讯软件
account_database.json
server.py
或者对应的execlient.py
或者对应的exe将会产生如下异常:
Traceback (most recent call last):
File ".\server.py", line 306, in <module>
server.launch()
File ".\server.py", line 41, in launch
self.selectLoop()
File ".\server.py", line 80, in selectLoop
if self.acceptLogin(cliSock, cliAddr) == 0:
File ".\server.py", line 214, in acceptLogin
res = self.checkAccount(cliUserName, cliPassword)
File ".\server.py", line 140, in checkAccount
with open(self.dataFile, 'r') as fp:
FileNotFoundError: [Errno 2] No such file or directory: 'account_database.json'
由于时间原因而将在客户端的register
方法内直接修改了数据文件。
应当改为:客户端向服务端发送消息,由服务端对数据文件进行操作,不能让客户端接触到数据文件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.