// SetReadDeadline implements the Conn SetReadDeadline method.
SetReadDeadline implements the Conn SetReadDeadline method.
// SetReadDeadline implements the Conn SetReadDeadline method .
func (c *IPConn) SetReadDeadline(t time.Time) error {
	if !c.ok() {
		return syscall.EINVAL
	}
	return setReadDeadline(c.fd, t)
}
func ( c * IPConn ) SetReadDeadline ( t time . Time ) error { if ! c . ok ( ) { return syscall . EINVAL } return setReadDeadline ( c . fd , t ) }
SetReadDeadline implements the Conn SetReadDeadline method.
SetReadDeadline implements the Conn SetReadDeadline method .