Browse Source

Remove useless service variation

nxrighthere 7 years ago
parent
commit
58c02da7ed
1 changed files with 0 additions and 9 deletions
  1. 0 9
      Source/Managed/ENet.cs

+ 0 - 9
Source/Managed/ENet.cs

@@ -432,15 +432,6 @@ namespace ENet {
 			return peer;
 			return peer;
 		}
 		}
 
 
-		public int Service(int timeout) {
-			if (timeout < 0)
-				throw new ArgumentOutOfRangeException("timeout");
-
-			CheckCreated();
-
-			return Native.enet_host_service(nativeHost, IntPtr.Zero, (uint)timeout);
-		}
-
 		public int Service(int timeout, out Event @event) {
 		public int Service(int timeout, out Event @event) {
 			if (timeout < 0)
 			if (timeout < 0)
 				throw new ArgumentOutOfRangeException("timeout");
 				throw new ArgumentOutOfRangeException("timeout");