Method: RTunnel::SocketFactory.socket
- Defined in:
- lib/rtunnel/socket_factory.rb
.socket(options = {}) ⇒ Object
104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/rtunnel/socket_factory.rb', line 104 def self.socket( = {}) s = new_socket s, if inbound? bind s, s, else connect s, end s end |