Skip to content

Commit ea59c5b

Browse files
Added socket finally! :)
1 parent 67128d2 commit ea59c5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Servers/Kestrel/Transport.Sockets/src/Internal/SocketConnection.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ internal SocketConnection(Socket socket,
4848
MemoryPool = memoryPool;
4949
_trace = trace;
5050
_waitForData = waitForData;
51+
Socket = socket;
5152

5253
LocalEndPoint = _socket.LocalEndPoint;
5354
RemoteEndPoint = _socket.RemoteEndPoint;
@@ -75,6 +76,8 @@ internal SocketConnection(Socket socket,
7576

7677
public override MemoryPool<byte> MemoryPool { get; }
7778

79+
public override Socket Socket { get; }
80+
7881
public void Start()
7982
{
8083
_processingTask = StartAsync();

0 commit comments

Comments
 (0)