Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WriteMsgIP (0.38 sec)

  1. src/net/iprawsock.go

    	}
    	return n, err
    }
    
    // WriteMsgIP writes a message to addr via c, copying the payload from
    // b and the associated out-of-band data from oob. It returns the
    // number of payload and out-of-band bytes written.
    //
    // The packages golang.org/x/net/ipv4 and golang.org/x/net/ipv6 can be
    // used to manipulate IP-level socket options in oob.
    func (c *IPConn) WriteMsgIP(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/net/protoconn_test.go

    	} else {
    		f.Close()
    	}
    
    	defer func() {
    		if p := recover(); p != nil {
    			t.Fatalf("panicked: %v", p)
    		}
    	}()
    
    	wb := []byte("IPCONN TEST")
    	c.WriteToIP(wb, nil)
    	c.WriteMsgIP(wb, nil, nil)
    }
    
    func TestUnixListenerSpecificMethods(t *testing.T) {
    	if !testableNetwork("unix") {
    		t.Skip("unix test")
    	}
    
    	addr := testUnixAddr(t)
    	la, err := ResolveUnixAddr("unix", addr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*IPConn).SetWriteBuffer", Method, 0},
    		{"(*IPConn).SetWriteDeadline", Method, 0},
    		{"(*IPConn).SyscallConn", Method, 9},
    		{"(*IPConn).Write", Method, 0},
    		{"(*IPConn).WriteMsgIP", Method, 1},
    		{"(*IPConn).WriteTo", Method, 0},
    		{"(*IPConn).WriteToIP", Method, 0},
    		{"(*IPNet).Contains", Method, 0},
    		{"(*IPNet).Network", Method, 0},
    		{"(*IPNet).String", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg net, func LookupNS(string) ([]*NS, error)
    pkg net, method (*Dialer) Dial(string, string) (Conn, error)
    pkg net, method (*IPConn) ReadMsgIP([]uint8, []uint8) (int, int, int, *IPAddr, error)
    pkg net, method (*IPConn) WriteMsgIP([]uint8, []uint8, *IPAddr) (int, int, error)
    pkg net, method (*UDPConn) ReadMsgUDP([]uint8, []uint8) (int, int, int, *UDPAddr, error)
    pkg net, method (*UDPConn) WriteMsgUDP([]uint8, []uint8, *UDPAddr) (int, int, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top