Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for sendto (0.4 sec)

  1. internal/grid/connection.go

    	return h0 < h1
    }
    
    func (c *Connection) send(ctx context.Context, msg []byte) error {
    	select {
    	case <-ctx.Done():
    		// Returning error here is too noisy.
    		return nil
    	case c.outQueue <- msg:
    		return nil
    	}
    }
    
    // queueMsg queues a message, with an optional payload.
    // sender should not reference msg.Payload
    func (c *Connection) queueMsg(msg message, payload sender) error {
    	// Add baseflags.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    	if !ok {
    		c.sendAlert(alertUnexpectedMessage)
    		return unexpectedMessageError(shd, msg)
    	}
    
    	// If the server requested a certificate then we have to send a
    	// Certificate message, even if it's empty because we don't have a
    	// certificate to send.
    	if certRequested {
    		certMsg = new(certificateMsg)
    		certMsg.certificates = chainToSend.Certificate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top