Skip to content

Commit

Permalink
Merge 3ddc5f3 into 45672e0
Browse files Browse the repository at this point in the history
  • Loading branch information
wuqiong committed Oct 24, 2022
2 parents 45672e0 + 3ddc5f3 commit 4d361da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fleck/Fleck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<PackageProjectUrl>https://github.com/statianzo/Fleck</PackageProjectUrl>
<RepositoryUrl>https://github.com/statianzo/Fleck</RepositoryUrl>
<PackageTags>websockets server html5 events</PackageTags>
<TargetFrameworks>net40;net45;netstandard2.0;netcoreapp2.0</TargetFrameworks>
<TargetFrameworks>net472;netstandard2.0</TargetFrameworks>
</PropertyGroup>
</Project>
1 change: 1 addition & 0 deletions src/Fleck/Interfaces/ISocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
5 changes: 5 additions & 0 deletions src/Fleck/SocketWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ public Stream Stream
get { return _stream; }
}

public Socket Socket
{
get { return _socket; }
}

public bool NoDelay
{
get { return _socket.NoDelay; }
Expand Down

0 comments on commit 4d361da

Please sign in to comment.