18 - Changing all hostname to host, fixing some async issues in tests
This commit is contained in:
@ -136,7 +136,7 @@ TcpConnection.createConnectingConnection = function(
|
||||
onConnectionEstablished, onConnectionFailed, onConnectionClosed
|
||||
) {
|
||||
var connection = new TcpConnection(log, connectionId, remoteEndPoint, onConnectionClosed);
|
||||
var socket = net.connect(remoteEndPoint.port, remoteEndPoint.hostname);
|
||||
var socket = net.connect(remoteEndPoint.port, remoteEndPoint.host);
|
||||
function onError(err) {
|
||||
if (onConnectionFailed)
|
||||
onConnectionFailed(connection, err);
|
||||
|
Reference in New Issue
Block a user