diff --git a/src/Fleck/Fleck.csproj b/src/Fleck/Fleck.csproj
index 3a6fabc..7fe4ddb 100644
--- a/src/Fleck/Fleck.csproj
+++ b/src/Fleck/Fleck.csproj
@@ -9,6 +9,6 @@
https://github.com/statianzo/Fleck
https://github.com/statianzo/Fleck
websockets server html5 events
- net40;net45;netstandard2.0;netcoreapp2.0
+ net472;netstandard2.0
diff --git a/src/Fleck/Interfaces/ISocket.cs b/src/Fleck/Interfaces/ISocket.cs
index b6481a0..1ab9624 100644
--- a/src/Fleck/Interfaces/ISocket.cs
+++ b/src/Fleck/Interfaces/ISocket.cs
@@ -14,6 +14,7 @@ public interface ISocket
string RemoteIpAddress { get; }
int RemotePort { get; }
Stream Stream { get; }
+ Socket Socket { get; }
bool NoDelay { get; set; }
EndPoint LocalEndPoint { get; }
diff --git a/src/Fleck/SocketWrapper.cs b/src/Fleck/SocketWrapper.cs
index 379485e..e7218a1 100644
--- a/src/Fleck/SocketWrapper.cs
+++ b/src/Fleck/SocketWrapper.cs
@@ -104,6 +104,11 @@ public Stream Stream
get { return _stream; }
}
+ public Socket Socket
+ {
+ get { return _socket; }
+ }
+
public bool NoDelay
{
get { return _socket.NoDelay; }