From 2a7c0d5d63c612841a33885a75db028dbcc72c95 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 5 Jan 2018 11:06:16 +0100 Subject: [PATCH] Added connection timeout support for Compact Framework builds. --- Source/RemObjects.InternetPack/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RemObjects.InternetPack/Server.cs b/Source/RemObjects.InternetPack/Server.cs index 1f1d34d..a041b8e 100644 --- a/Source/RemObjects.InternetPack/Server.cs +++ b/Source/RemObjects.InternetPack/Server.cs @@ -502,7 +502,7 @@ public virtual void Listen() { lWorker.DataConnection = new Connection(lSocket); } -#if FULLFRAMEWORK +#if FULLFRAMEWORK || COMPACTFRAMEWORK if (Owner.TimeoutEnabled) { lWorker.DataConnection.TimeoutEnabled = true;