Skip to content

DonnotPanic/Socket_Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Electron App based on UDP and TCP socket

This is my socket programming homework.

Before starting

Do not forget to use npm / yarn to install all dependencies.

How to start

Either the UDP-based app or TCP-based app work exactly the same way.

First, start the server.

cd {YOUR DIRECTORY}/{TCP or UDP}/server
node server.js

Second, start the react-app by npm

cd {YOUR DIRECTORY}/{TCP or UDP}/client
npm start

or by yarn.

cd {YOUR DIRECTORY}/{TCP or UDP}/client
yarn start

Third, start the electron by npm

cd {YOUR DIRECTORY}/{TCP or UDP}/client
npm run electron-start

or by yarn

cd {YOUR DIRECTORY}/{TCP or UDP}/client
yarn run electron-start

About

The socket homework of computer network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published