Skip to content

Commit e57b16f

Browse files
committed
Format.
1 parent 0296d7a commit e57b16f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Java基础/网络请求相关内容总结.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
- 通过DatagramPacke关闭的方法,获取发送数据包中的信息;
7373
- 关闭DatagramSocket和DatagramPacket服务。
7474
- UDP协议的Demo(必须掌握):
75-
- 发送端:
75+
- 发送端:
76+
7677
```java
7778
class UDPSend {
7879
public static void main(String[] args) throws Exception {
@@ -85,7 +86,8 @@
8586
}
8687
}
8788
```
88-
- 接收端
89+
- 接收端
90+
8991
```java
9092
class UDPRece {
9193
public static void main(String[] args) throws Exception {
@@ -120,6 +122,7 @@
120122
121123
- TCP/IP协议的一个Demo(必须要掌握!):
122124
- 客户端:
125+
123126
```java
124127
class TCPClient {
125128
public static void main(String[] args) {
@@ -131,6 +134,7 @@
131134
}
132135
```
133136
- 服务端:
137+
134138
```java
135139
class TCPServer {
136140
public static void main(String[] args) {

0 commit comments

Comments
 (0)