lib/asir/transport/tcp_socket.rb in asir-1.1.6 vs lib/asir/transport/tcp_socket.rb in asir-1.1.7
- old
+ new
@@ -7,10 +7,10 @@
# TCP Socket Transport
class TcpSocket < ConnectionOriented
# !SLIDE
# TCP Socket Client
def _client_connect!
- sock = TCPSocket.open(address, port)
+ sock = TCPSocket.open(host, port)
end
# !SLIDE
# TCP Socket Server
def _server!