azure-relay
azure-relay copied to clipboard
Portbridge sample, class TcpClientConnectionForwarder.cs, remove line Stream socketStream = tcpConnection.GetStream();
Description
Studying the code for the portbridge example, noticed that the line in the code block below can be removed in the class TcpClientConnectionForwarder, method void ClientAccepted(IAsyncResult asyncResult), the variable socketStream is not used in this method
Stream socketStream = tcpConnection.GetStream();
@RobDaPraia - You are talking about this line, correct?
https://github.com/Azure/azure-relay/blob/master/samples/Hybrid%20Connections/DotNet/portbridge/PortBridge/TcpClientConnectionForwarder.cs#L133
@clemensv - Would you agree?
Yes indeed,