Class: SCTPStackHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/diameter/stack_transport_helpers.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) send(_bytes, _connection)



119
120
# File 'lib/diameter/stack_transport_helpers.rb', line 119

def send(_bytes, _connection)
end

- (Object) setup_new_connection(host, port)



111
112
113
114
# File 'lib/diameter/stack_transport_helpers.rb', line 111

def setup_new_connection(host, port)
  sd = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
  sd.connect(Socket.pack_sockaddr_in(port, host))
end

- (Object) setup_new_listen_connection(_host, _port)



116
117
# File 'lib/diameter/stack_transport_helpers.rb', line 116

def setup_new_listen_connection(_host, _port)
end