Remove call to Bind() from EventPipeClient (#149)
authorSung Yoon Whang <suwhang@microsoft.com>
Tue, 2 Apr 2019 23:44:06 +0000 (16:44 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Apr 2019 23:44:06 +0000 (16:44 -0700)
* Remove Bind from EventPipeClient

* cleanup

src/Microsoft.Diagnostics.Tools.RuntimeClient/Eventing/EventPipeClient.cs

index 11693824d13eb5fe1514008c21194816c43b4212..ce7a2e0dda2464afe8411e0731883f62f2fa909c 100644 (file)
@@ -50,7 +50,6 @@ namespace Microsoft.Diagnostics.Tools.RuntimeClient
 
                 using (var socket = new Socket(AddressFamily.Unix, SocketType.Stream, ProtocolType.Unspecified))
                 {
-                    socket.Bind(remoteEP);
                     socket.Connect(remoteEP);
                     socket.Send(buffer);