Node.js简单的TCP服务器客户端
具有简单协议的简单tcp套接字服务器。
用法
用npm run compile打字稿代码
要运行服务器: npm run start-server
运行客户端: npm run start-client
Usage:
1. "+" command. Sums the arguments given after "+". Arguments can be float and comma separated.
Example: +1,2 a
简单的TCP服务器
运行项目
后端
- navigate command line to the backend directory with "cd backend"
- run the server with "go run server.go"
前端
- navigate command line to the frontend directory with "cd frontend"
- install the needed packages with "npm install"
- r