Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16691
Modified Files:
PgDbClient.cs
Log Message:
Changed ProtocolType used to configure the Socket to Tcp
Index: PgDbClient.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient/PgDbClient.cs,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** PgDbClient.cs 29 Sep 2004 12:10:53 -0000 1.53
--- PgDbClient.cs 13 Feb 2005 20:52:29 -0000 1.54
***************
*** 865,869 ****
IPEndPoint EPhost = new IPEndPoint(hostadd, settings.ServerPort);
! this.socket = new Socket(AddressFamily.InterNetwork,SocketType.Stream, ProtocolType.IP);
// Set Receive Buffer size.
--- 865,872 ----
IPEndPoint EPhost = new IPEndPoint(hostadd, settings.ServerPort);
! this.socket = new Socket(
! AddressFamily.InterNetwork,
! SocketType.Stream,
! ProtocolType.Tcp);
// Set Receive Buffer size.
|