From b7ba0466077f9829e2e93a1d6f07be7d0b6ff501 Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 12 Jan 2018 04:52:26 +0900 Subject: [PATCH] [Modify] Add it --- websocket-sharp/Net/HttpConnection.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 94565d34..70a23f24 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -137,6 +137,12 @@ namespace WebSocketSharp.Net } } + public bool IsLocal { + get { + return ((IPEndPoint) _remoteEndPoint).Address.IsLocal (); + } + } + public bool IsSecure { get { return _secure;