Skip to content

Commit 2faab37

Browse files
author
Reckhou
committed
修正代码格式
1 parent 86a6bfb commit 2faab37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ebook/08.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ TCP有很多连接控制函数,我们平常用到比较多的有如下几个
234234
设置建立连接的超时时间,客户端和服务器端都适用,当超过设置时间时,连接自动关闭。
235235

236236
func (c *TCPConn) SetReadDeadline(t time.Time) error
237+
237238
func (c *TCPConn) SetWriteDeadline(t time.Time) error
238239

239240
用来设置写入/读取一个连接的超时时间。当超过设置时间时,连接自动关闭。

0 commit comments

Comments
 (0)