mirror of
https://github.com/gospider007/requests.git
synced 2025-12-24 13:57:52 +08:00
sync
This commit is contained in:
@@ -176,3 +176,10 @@ func (c *UDPConn) WriteTo(p []byte, addr net.Addr) (n int, err error) {
|
||||
}
|
||||
return n, nil
|
||||
}
|
||||
|
||||
func (c *UDPConn) SetReadBuffer(i int) error {
|
||||
return c.PacketConn.(*net.UDPConn).SetReadBuffer(i)
|
||||
}
|
||||
func (c *UDPConn) SetWriteBuffer(i int) error {
|
||||
return c.PacketConn.(*net.UDPConn).SetWriteBuffer(i)
|
||||
}
|
||||
|
||||
BIN
test/.DS_Store
vendored
Normal file
BIN
test/.DS_Store
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user