Home | History | Annotate | Download | only in net

Lines Matching defs:Write

118 	// Write writes data to the connection.
119 // Write can be made to time out and return an Error with Timeout() == true
121 Write(b []byte) (n int, err error)
124 // Any blocked Read or Write operations will be unblocked and return errors.
133 // SetDeadline sets the read and write deadlines associated
141 // Write. After a deadline has been exceeded, the connection
145 // the deadline after successful Read or Write calls.
155 // SetWriteDeadline sets the deadline for future Write calls
156 // and any currently-blocked Write call.
157 // Even if write times out, it may return n > 0, indicating that
159 // A zero value for t means Write will not time out.
183 // Write implements the Conn Write method.
184 func (c *conn) Write(b []byte) (int, error) {
188 n, err := c.fd.Write(b)
190 err = &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
318 // On packet-oriented connections, write timeouts are rare.
328 // SetDeadline sets the read and write deadlines associated
352 // Even if write times out, it may return n > 0, indicating that
387 // For connection setup and write operations.
390 // For both read and write operations.
416 // "read" or "write".
424 // Dial, Read, or Write, Source is the corresponding local
432 // Dial, Read, or Write, Addr is the remote address of that
617 // "writev"-like batch write optimization.
618 // writeBuffers should fully consume and write all chunks from the
624 // Buffers contains zero or more runs of bytes to write.
627 // optimized into an OS-specific batch write operation (such as
641 nb, err := w.Write(b)