func NewReadWriter(sock *Sock) (*ReadWriter, error) {
	rw := &ReadWriter{
		sock:          sock,
		timeoutMillis: -1,
	}

	var err error
	rw.poller, err = NewPoller(rw.sock)
	return rw, err
}
// NewReadWriter accepts a sock and returns a goczmq.ReadWriter. The
// io.ReadWriter should now be considered responsible for this
// Sock.
NewReadWriter accepts a sock and returns a goczmq.ReadWriter. The
io.ReadWriter should now be considered responsible for this
Sock.
// NewReadWriter accepts a sock and returns a goczmq . ReadWriter . The // io . ReadWriter should now be considered responsible for this // Sock .
func NewReadWriter(sock *Sock) (*ReadWriter, error) {
	rw := &ReadWriter{
		sock:          sock,
		timeoutMillis: -1,
	}
	var err error
	rw.poller, err = NewPoller(rw.sock)
	return rw, err
}
func NewReadWriter ( sock * Sock ) ( * ReadWriter , error ) { rw := & ReadWriter { sock : sock , timeoutMillis : - 1 , } var err error rw . poller , err = NewPoller ( rw . sock ) return rw , err }
NewReadWriter accepts a sock and returns a goczmq.ReadWriter.
NewReadWriter accepts a sock and returns a goczmq . ReadWriter .