Skip to content

lucasbretana/2017.2-dns-with-friends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run the tests

  • make tests

To run the server apart from the client

  • make serverside
  • enter the bin directorie
  • java -cp . dnswithfriends.serverside.ui.UIServer
  • the option is optional, the default is set in the code
  • now the server is waiting for one of the commands
    • /quit : closes the server
    • /load-friends : witch loads the know friend from a file
    • /load-hosts : witch loads the know hosts from a file
    • /help : show a little help message

To Run the client apart from the server

  • make clientside
  • enter bin directorie
  • java -cp . dnswithfriends.clientside.ui.UIClient
  • the and parameters are optional, the default ones are in the code
  • now the client waits for a file name, that must be a request to the server

Some examples of requests and responses are available in the resources folder

About

A DNS implementation for RC 2017/2 class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published