[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets Socket.cs,1.16,1.1
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets Socket.cs,1.16,1.17 |
Date: |
Tue, 27 May 2003 22:51:24 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets
In directory subversions:/tmp/cvs-serv2136/System/Net/Sockets
Modified Files:
Socket.cs
Log Message:
Keep ProtocolType.Unspecified if creating an IrDA socket.
Index: Socket.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/Socket.cs,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** Socket.cs 28 May 2003 02:12:11 -0000 1.16
--- Socket.cs 28 May 2003 02:51:22 -0000 1.17
***************
*** 62,66 ****
if(protocolType ==
ProtocolType.Unspecified)
{
! protocolType = ProtocolType.Tcp;
}
else if(protocolType !=
ProtocolType.Tcp)
--- 62,70 ----
if(protocolType ==
ProtocolType.Unspecified)
{
! if(addressFamily ==
AddressFamily.InterNetwork ||
! addressFamily ==
AddressFamily.InterNetworkV6)
! {
! protocolType =
ProtocolType.Tcp;
! }
}
else if(protocolType !=
ProtocolType.Tcp)
***************
*** 73,77 ****
if(protocolType ==
ProtocolType.Unspecified)
{
! protocolType = ProtocolType.Udp;
}
else if(protocolType !=
ProtocolType.Udp)
--- 77,85 ----
if(protocolType ==
ProtocolType.Unspecified)
{
! if(addressFamily ==
AddressFamily.InterNetwork ||
! addressFamily ==
AddressFamily.InterNetworkV6)
! {
! protocolType =
ProtocolType.Udp;
! }
}
else if(protocolType !=
ProtocolType.Udp)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets Socket.cs,1.16,1.17,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2380,1.2381 configure.in,1.124,1.125
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.946,1.947
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2380,1.2381 configure.in,1.124,1.125
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.946,1.947
- Index(es):