Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setReadDeadline (0.06 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    	return m, err
    }
    
    func readProto[T any, PT interface {
    	proto.Message
    	*T
    }](c *net.UnixConn, timeout time.Duration, oob []byte) (PT, int, error) {
    	var buf [1024]byte
    	err := c.SetReadDeadline(time.Now().Add(timeout))
    	if err != nil {
    		return nil, 0, err
    	}
    	n, oobn, flags, _, err := c.ReadMsgUnix(buf[:], oob)
    	if err != nil {
    		return nil, 0, err
    	}
    	if flags&unix.MSG_TRUNC != 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. api/go1.10.txt

    pkg net, method (*UnixListener) SyscallConn() (syscall.RawConn, error)
    pkg net/smtp, method (*Client) Noop() error
    pkg os, func IsTimeout(error) bool
    pkg os, method (*File) SetDeadline(time.Time) error
    pkg os, method (*File) SetReadDeadline(time.Time) error
    pkg os, method (*File) SetWriteDeadline(time.Time) error
    pkg os, method (*PathError) Timeout() bool
    pkg os, method (*SyscallError) Timeout() bool
    pkg os, var ErrNoDeadline error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
Back to top