Sha256: 7c79054abf53e12751e0e64df50306059d713fc14300a3f526847f0733a36c9a
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
require 'aggro/nanomsg_transport/connection' module Aggro module NanomsgTransport # Private: Wrapper for a nanomsg XREQ node. class RawRequest < Connection def allocate_socket @socket = NNCore::LibNanomsg.nn_socket(NNCore::AF_SP_RAW, NNCore::NN_REQ) assert @socket end def set_endpoint assert NNCore::LibNanomsg.nn_bind(@socket, @endpoint) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aggro-0.0.3 | lib/aggro/nanomsg_transport/raw_request.rb |
aggro-0.0.2 | lib/aggro/nanomsg_transport/raw_request.rb |