Skip to content

ritwtywenty/Calculate4U

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculate4U

Build Status

Assignment for network's class. Communication protocol between server and client for math calculator system.

  • So you don't have a calculator at home? We've got you!
  • Ps. You need a computer with internet connection.
  • Magic!!

New Features!

  • We don't have time to sleep.

Contributors

  • Nokhy
  • Train
  • Keyok

If for some weird reason you want to contact us, you can send an email to ribtwentythree@gmail.com

Tech

Technologies used:

  • Java - Java language!
  • Eclipse - awesome java IDE that basically makes the full code for you!

Installation

You can use eclipse to import the project from a folder and run the main class.

Client - Server commands:

Client request Server response Absolut server response Client receive cost in bytes Server receive cost in bytes
is available returns a confirmation message if the server is available. yes or nothing. 16 16
solve [MATH OP] solve the [MATH OP] and store the result in the server and return a token and a needed size to client get the message with result information. [token];[necessary size to get token message] 1k 512k
get [TOKEN] returns a message with informed length containing the solution. [solution] is volatile 1k

Simulation:

Client Send Client Receive
is available yes
solve 1+2 token;2
get token 3

Development

Want to contribute? Great! Do it.

License

Do whatever you want!

Free Software, Hell Yeah!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published