You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
411 B
14 lines
411 B
//go:build !(aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris)
|
|
|
|
package nbconn
|
|
|
|
// Not using unix build tag for support on Go 1.18.
|
|
|
|
func (c *NetConn) realNonblockingWrite(b []byte) (n int, err error) {
|
|
return c.fakeNonblockingWrite(b)
|
|
}
|
|
|
|
func (c *NetConn) realNonblockingRead(b []byte) (n int, err error) {
|
|
return c.fakeNonblockingRead(b)
|
|
}
|