Skip to content

Commit 8c65132

Browse files
committed
Clean comment.
1 parent 2ec5e1b commit 8c65132

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/GdsConnection.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,6 @@ public virtual void Connect()
115115
IPAddress = GetIPAddress(_dataSource, AddressFamily.InterNetwork);
116116
var endPoint = new IPEndPoint(IPAddress, _portNumber);
117117

118-
//Changed by Robert Dickens @RobertTheArchitect on Oct-04-2017 as
119-
//Existing code bellow will fail connection when attempting to remotly connect to a
120-
//Remote Firebird installation via IPv6 protocol only
121-
//_socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
122-
123-
124-
//Address family being passed into Socket should reflect the AddressFamily of the IpAddress Object and not
125-
//forced to InterNetwork creating a protocol conflict
126118
_socket = new Socket(IPAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
127119

128120
_socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, _packetSize);

0 commit comments

Comments
 (0)