From e661a133eb50f60545cbb0b6ffb6b2f581155abe Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 4 May 2008 14:49:05 +0000 Subject: [PATCH] don't forget to connect first, duh! git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@850 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/fcp/highlevel/HighLevelClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java index 9fd36fd..5032eef 100644 --- a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java +++ b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java @@ -272,6 +272,7 @@ public class HighLevelClient { public HighLevelCallback connect() throws IOException { fcpConnection = new FcpConnection(address, port); fcpConnection.addFcpListener(highLevelClientFcpListener); + fcpConnection.connect(); ClientHello clientHello = new ClientHello(clientName); connectCallback = new HighLevelCallback(new ConnectResult()); fcpConnection.sendMessage(clientHello); -- 2.7.4