class CZTop::Socket::STREAM

Stream socket for the native pattern. This is useful when communicating with a non-ZMQ peer over TCP. @see api.zeromq.org/4-2:zmq-socket#toc16

Public Class Methods

new(endpoints = nil) click to toggle source

@param endpoints [String] endpoints to connect to

Calls superclass method CZTop::Socket::new
# File lib/cztop/socket/types.rb, line 287
def initialize(endpoints = nil)
  super

  attach_ffi_delegate(Zsock.new_stream(endpoints))
end