Skip to content

mathieu2em/pseudoHDLC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pseudoHDLC

homework for teleinformatic class

To launch the pseudoHDLC:

  1. Open two terminal windows at the jar file location pseudoHDLC.jar
  2. In each of them enter the command: java -jar pseudoHDLC.jar step 2
  3. In the first, enter 1, then press enter to start the receiver.
  4. In the second box, enter 2 and then press enter to start the transmitter. step 4
  5. you can now, in the transmitter, press 1 to send the frame request for connection with go back n.
  6. the server will receive it and respond with the confirmation frame step 6
  7. A menu will now appear from which you can select the test that you want to test. step 7
  8. If you select the first, it will be an error free transmission: step 8
  9. you can then press 2 then enter to go to the next test step 9
  10. if you press twice again you will turn the keys that will generate a frame step 10 lost. you will need to enter the name of the test file as before which should be in the same path as you file pseudoHDLC.jar
  11. Test 2 will change a frame and you will get the protocol behavior wish step 11
  12. repeating the previous steps you can start the test 3 step 12
  13. then test 4 ....

ressources : https://docs.oracle.com/javase/tutorial/networking/sockets/readingWriting.html

About

pseudoImplementation of HDLC protocol using sockets in java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages