⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme .txt

📁 ssd8 exercise 3 Write a simple datagram client/server in Java and a tcp client/server also in java
💻 TXT
字号:
The datagram client/server
1.Run the datagramServer.java.If you want to change the port please input the argument first, or the default port is 8000. 
2.There will be output like this:
  connecting...
3.Run the datagramClient.java 
4.There will be output like this:
   The average round trip time is: 0.109 vs
   The number of packets lost and duplicated is: 0

The TCP client/server
1.Run the TCPServer.java.
2.There will be output like this:
  connecting...
3.Run the TCPClient.java.
4.There will be output like this:
   The number of packets lost and duplicated is: 0
   The average round trip time to send one byte with TCP is: 1.406 vs

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -