Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Feb 22, 2017
1 parent d6a24c4 commit f3545ea
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ public InetSocketAddress start() throws IOException {
Socket incomingSocket = listenSocket.accept();
log.debug("Accepting incoming connection from {}", incomingSocket.getRemoteSocketAddress());

new ProxyThread(incomingSocket, new NamedPipeSocket(null, pipeName));
NamedPipeSocket namedPipeSocket = new NamedPipeSocket(null, pipeName);
namedPipeSocket.connect(null);

new ProxyThread(incomingSocket, namedPipeSocket);
} catch (IOException ignored) {
}
}
Expand Down

0 comments on commit f3545ea

Please sign in to comment.