[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets ProtocolFamily.cs
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets ProtocolFamily.cs,NONE,1.1 AddressFamily.cs,1.1,1.2 LingerOption.cs,1.1,1.2 MulticastOption.cs,1.2,1.3 ProtocolType.cs,1.1,1.2 SelectMode.cs,1.1,1.2 SocketFlags.cs,1.1,1.2 SocketOptionLevel.cs,1.1,1.2 SocketOptionName.cs,1.1,1.2 SocketShutdown.cs,1.1,1.2 SocketType.cs,1.1,1.2 |
Date: |
Wed, 02 Apr 2003 02:16:02 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets
In directory subversions:/tmp/cvs-serv16873/System/Net/Sockets
Modified Files:
AddressFamily.cs LingerOption.cs MulticastOption.cs
ProtocolType.cs SelectMode.cs SocketFlags.cs
SocketOptionLevel.cs SocketOptionName.cs SocketShutdown.cs
SocketType.cs
Added Files:
ProtocolFamily.cs
Log Message:
Clean up some of the minor classes in "System.Net.Sockets".
--- NEW FILE ---
/*
* ProtocolFamily.cs - Implementation of the
* "System.Net.Sockets.ProtocolFamily" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Net.Sockets
{
#if !ECMA_COMPAT
public enum ProtocolFamily
{
Unknown = -1,
Unspecified = 0,
Unix = 1,
InterNetwork = 2,
ImpLink = 3,
Pup = 4,
Chaos = 5,
Ipx = 6,
NS = Ipx,
Iso = 7,
Osi = Iso,
Ecma = 8,
DataKit = 9,
Ccitt = 10,
Sna = 11,
DecNet = 12,
DataLink = 13,
Lat = 14,
HyperChannel = 15,
AppleTalk = 16,
NetBios = 17,
VoiceView = 18,
FireFox = 19,
Banyan = 21,
Atm = 22,
InterNetworkV6 = 23,
Cluster = 24,
Ieee12844 = 25,
Irda = 26,
NetworkDesigners = 28,
Max = 29
}; // enum ProtocolFamily
#endif // !ECMA_COMPAT
}; // namespace System.Net.Sockets
Index: AddressFamily.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/AddressFamily.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AddressFamily.cs 4 Mar 2002 01:58:24 -0000 1.1
--- AddressFamily.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * AddressFamily.cs - Implementation of the
"System.Net.Sockets.AddressFamily" class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * AddressFamily.cs - Implementation of the
! * "System.Net.Sockets.AddressFamily" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 24,57 ****
public enum AddressFamily
{
! AppleTalk = 16,
! Atm = 22,
! Banyan = 21,
! Ccitt = 10,
! Chaos = 5,
! Cluster = 24,
! DataKit = 9,
! DataLink = 13,
! DecNet = 12,
! Ecma = 8,
! FireFox = 19,
! HyperChannel = 15,
! Ieee12844 = 25,
! ImpLink = 3,
! InterNetwork = 2,
! InterNetworkV6 = 23,
! Ipx = 6,
! Irda = 26,
! Iso = 7,
! Lat = 14,
! NS = 6,
! NetBios = 17,
! NetworkDesigners = 28,
! Osi = 7,
! Pup = 4,
! Sna = 11,
! Unix = 1,
! Unknown = -1,
! Unspecified = 0,
! VoiceView = 18
}; // enum AddressFamily
--- 25,60 ----
public enum AddressFamily
{
! Unknown = -1,
! Unspecified = 0,
! Unix = 1,
! InterNetwork = 2,
! ImpLink = 3,
! Pup = 4,
! Chaos = 5,
! Ipx = 6,
! NS = Ipx,
! Iso = 7,
! Osi = Iso,
! Ecma = 8,
! DataKit = 9,
! Ccitt = 10,
! Sna = 11,
! DecNet = 12,
! DataLink = 13,
! Lat = 14,
! HyperChannel = 15,
! AppleTalk = 16,
! NetBios = 17,
! VoiceView = 18,
! FireFox = 19,
! Banyan = 21,
! Atm = 22,
! InterNetworkV6 = 23,
! Cluster = 24,
! Ieee12844 = 25,
! Irda = 26,
! NetworkDesigners = 28,
! Max = 29
!
}; // enum AddressFamily
Index: LingerOption.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/LingerOption.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** LingerOption.cs 4 Mar 2002 01:58:24 -0000 1.1
--- LingerOption.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,19 ****
/*
! * LingerOption.cs - Implementation of the "System.Net.Sockets.LingerOption"
class.
*
! * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
! *
! * This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
! * the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY, without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
! * along with this program, if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
--- 1,20 ----
/*
! * LingerOption.cs - Implementation of the
! * "System.Net.Sockets.LingerOption" class.
*
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
! *
! * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
! * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
***************
*** 22,64 ****
{
- using System;
-
public class LingerOption
{
! private bool lingering;
! private int myseconds;
!
! public LingerOption(bool enable, int seconds)
{
! lingering = enable;
! myseconds = seconds;
!
}
!
public bool Enabled
{
get
{
! return lingering;
}
set
{
! lingering = value;
}
}
-
public int LingerTime
{
get
{
! return myseconds;
}
set
{
! myseconds = value;
}
}
!
!
}; // class LingerOption
--- 23,63 ----
{
public class LingerOption
{
! // Internal state.
! private bool enabled;
! private int seconds;
!
! // Constructor.
! public LingerOption(bool enabled, int seconds)
{
! this.enabled = enabled;
! this.seconds = seconds;
}
!
! // Get or set the linger properties.
public bool Enabled
{
get
{
! return enabled;
}
set
{
! enabled = value;
}
}
public int LingerTime
{
get
{
! return seconds;
}
set
{
! seconds = value;
}
}
!
}; // class LingerOption
Index: MulticastOption.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/MulticastOption.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** MulticastOption.cs 21 Apr 2002 03:24:53 -0000 1.2
--- MulticastOption.cs 2 Apr 2003 07:16:00 -0000 1.3
***************
*** 1,19 ****
/*
! * MulticastOption.cs - Implementation of the
"System.Net.Sockets.MulticastOption" class.
*
! * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
! *
! * This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
! * the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY, without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
! * along with this program, if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
--- 1,20 ----
/*
! * MulticastOption.cs - Implementation of the
! * "System.Net.Sockets.MulticastOption" class.
*
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
! *
! * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
! * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
***************
*** 22,62 ****
{
- using System;
- using System.Net;
-
public class MulticastOption
{
! private IPAddress mygroup;
! private IPAddress mylocaladdress;
public MulticastOption(IPAddress group, IPAddress mcint)
{
! if (group == null)
! throw new
ArgumentNullException("group", S._("Arg_NotNull"));
! if (mcint == null)
! throw new
ArgumentNullException("mcint", S._("Arg_NotNull"));
!
! mygroup = group;
! mylocaladdress = mcint;
! }
public MulticastOption(IPAddress group)
{
! if (group == null)
! throw new
ArgumentNullException("group", S._("Arg_NotNull"));
!
! mygroup = group;
! mylocaladdress = IPAddress.Any;
}
!
public IPAddress Group
{
get
{
! return mygroup;
}
set
{
! mygroup = value;
! }
}
public IPAddress LocalAddress
--- 23,67 ----
{
public class MulticastOption
{
! // Internal state.
! private IPAddress group;
! private IPAddress mcint;
+ // Constructors.
public MulticastOption(IPAddress group, IPAddress mcint)
{
! if(group == null)
! {
! throw new
ArgumentNullException("group");
! }
! if(mcint == null)
! {
! throw new
ArgumentNullException("mcint");
! }
! this.group = group;
! this.mcint = mcint;
! }
public MulticastOption(IPAddress group)
{
! if(group == null)
! {
! throw new
ArgumentNullException("group");
! }
! this.group = group;
! this.mcint = IPAddress.Any;
}
!
! // Get or set the multicast properties.
public IPAddress Group
{
get
{
! return group;
}
set
{
! group = value;
! }
}
public IPAddress LocalAddress
***************
*** 64,77 ****
get
{
! return mylocaladdress;
}
set
{
! mylocaladdress = value;
}
}
!
}; // class MulticastOption
}; // namespace System.Net.Sockets
-
--- 69,81 ----
get
{
! return mcint;
}
set
{
! mcint = value;
}
}
!
}; // class MulticastOption
}; // namespace System.Net.Sockets
Index: ProtocolType.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/ProtocolType.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ProtocolType.cs 4 Mar 2002 01:58:24 -0000 1.1
--- ProtocolType.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * ProtocolType.cs - Implementation of the "System.Net.Sockets.ProtocolType"
class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * ProtocolType.cs - Implementation of the
! * "System.Net.Sockets.ProtocolType" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 24,44 ****
public enum ProtocolType
{
! Ggp = 3,
! IP = 0,
! Icmp = 1,
! Idp = 22,
! Igmp = 2,
! Ipx = 1000,
! ND = 77,
! Pup = 12,
! Raw = 255,
! Spx = 1256,
! SpxII = 1257,
! Tcp = 6,
! Udp = 17,
! Unknown = -1,
! Unspecified = 0
}; // enum ProtocolType
}; // namespace System.Net.Sockets
-
--- 25,45 ----
public enum ProtocolType
{
! Unknown = -1,
! Unspecified = 0,
! IP = 0,
! Icmp = 1,
! Igmp = 2,
! Ggp = 3,
! Tcp = 6,
! Pup = 12,
! Udp = 17,
! Idp = 22,
! ND = 77,
! Raw = 255,
! Ipx = 1000,
! Spx = 1256,
! SpxII = 1257
!
}; // enum ProtocolType
}; // namespace System.Net.Sockets
Index: SelectMode.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SelectMode.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SelectMode.cs 4 Mar 2002 01:58:24 -0000 1.1
--- SelectMode.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * ProtocolType.cs - Implementation of the "System.Net.Sockets.ProtocolType"
class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * ProtocolType.cs - Implementation of the
! * "System.Net.Sockets.ProtocolType" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 21,31 ****
namespace System.Net.Sockets
{
public enum SelectMode
{
! SelectError = 2,
! SelectRead = 0,
! SelectWrite = 1
}; // enum SelectMode
}; // namespace System.Net.Sockets
-
--- 22,33 ----
namespace System.Net.Sockets
{
+
public enum SelectMode
{
! SelectRead = 0,
! SelectWrite = 1,
! SelectError = 2
!
}; // enum SelectMode
}; // namespace System.Net.Sockets
Index: SocketFlags.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketFlags.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SocketFlags.cs 4 Mar 2002 01:58:24 -0000 1.1
--- SocketFlags.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * SocketFlags.cs - Implementation of the "System.Net.Sockets.SocketFlags"
class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * SocketFlags.cs - Implementation of the
! * "System.Net.Sockets.SocketFlags" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 22,37 ****
{
- using System;
-
[Flags]
public enum SocketFlags
{
! DontRoute = 0x4,
! None = 0x0,
! OutOfBand = 0x1,
! Partial = 0x8000,
! Peek = 0x2
}; // enum SocketFlags
}; // namespace System.Net.Sockets
-
--- 23,37 ----
{
[Flags]
public enum SocketFlags
{
! None = 0x0000,
! OutOfBand = 0x0001,
! Peek = 0x0002,
! DontRoute = 0x0004,
! MaxIOVectorLength = 0x0010,
! Partial = 0x8000
!
}; // enum SocketFlags
}; // namespace System.Net.Sockets
Index: SocketOptionLevel.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketOptionLevel.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SocketOptionLevel.cs 4 Mar 2002 01:58:24 -0000 1.1
--- SocketOptionLevel.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * SocketOptionLevel.cs - Implementation of the
"System.Net.Sockets.SocketOptionLevel" class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * SocketOptionLevel.cs - Implementation of the
! * "System.Net.Sockets.SocketOptionLevel" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 24,33 ****
public enum SocketOptionLevel
{
! IP = 0,
! Socket = 65535,
! Tcp = 6,
! Udp = 17
}; // enum SocketOptionLevel
}; // namespace System.Net.Sockets
-
--- 25,34 ----
public enum SocketOptionLevel
{
! IP = 0,
! Tcp = 6,
! Udp = 17,
! Socket = 65535
!
}; // enum SocketOptionLevel
}; // namespace System.Net.Sockets
Index: SocketOptionName.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketOptionName.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SocketOptionName.cs 4 Mar 2002 01:58:24 -0000 1.1
--- SocketOptionName.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * SocketOptionLevel.cs - Implementation of the
"System.Net.Sockets.SocketOptionName" class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * SocketOptionName.cs - Implementation of the
! * "System.Net.Sockets.SocketOptionName" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 24,67 ****
public enum SocketOptionName
{
! AcceptConnection = 2,
! AddMembership = 12,
! AddSourceMembership = 15,
! BlockSource = 17,
! Broadcast = 32,
! BsdUrgent = 2,
! ChecksumCoverage = 20,
! Debug = 1,
! DontFragment = 14,
! DontLinger = -129,
! DontRoute = 16,
! DropMembership = 13,
! DropSourceMembership = 16,
! Error = 4103,
! ExclusiveAddressUse = -5,
! Expedited = 2,
! HeaderIncluded = 2,
! IPOptions = 1,
! IpTimeToLive = 4,
! KeepAlive = 8,
! Linger = 128,
! MaxConnections = 2147483647,
! MulticastInterface = 9,
! MulticastLoopback = 11,
! MulticastTimeToLive = 10,
! NoChecksum = 1,
! NoDelay = 1,
! OutOfBandInline = 256,
! PacketInformation = 19,
! ReceiveBuffer = 4098,
! ReceiveLowWater = 4100,
! ReceiveTimeout = 4102,
! ReuseAddress = 4,
! SendBuffer = 4097,
! SendLowWater = 4099,
! SendTimeout = 4101,
! Type = 4104,
! TypeOfService = 3,
! UnblockSource = 18,
! UseLoopback = 64
}; // enum SocketOptionName
--- 25,76 ----
public enum SocketOptionName
{
! // Options for SocketOptionLevel.IP.
! IPOptions = 0x00000001,
! HeaderIncluded = 0x00000002,
! TypeOfService = 0x00000003,
! IpTimeToLive = 0x00000004,
! MulticastInterface = 0x00000009,
! MulticastTimeToLive = 0x0000000A,
! MulticastLoopback = 0x0000000B,
! AddMembership = 0x0000000C,
! DropMembership = 0x0000000D,
! DontFragment = 0x0000000E,
! AddSourceMembership = 0x0000000F,
! DropSourceMembership = 0x00000010,
! BlockSource = 0x00000011,
! UnblockSource = 0x00000012,
! PacketInformation = 0x00000013,
!
! // Options for SocketOptionLevel.Tcp.
! NoDelay = 0x00000001,
! BsdUrgent = 0x00000002,
! Expedited = 0x00000002,
!
! // Options for SocketOptionLevel.Udp.
! NoChecksum = 0x00000001,
! ChecksumCoveragei = 0x00000014,
!
! // Options for SocketOptionLevel.Socket.
! Debug = 0x00000001,
! AcceptConnection = 0x00000002,
! ReuseAddress = 0x00000004,
! KeepAlive = 0x00000008,
! DontRoute = 0x00000010,
! Broadcast = 0x00000020,
! UseLoopback = 0x00000040,
! Linger = 0x00000080,
! OutOfBandInline = 0x00000100,
! SendBuffer = 0x00001001,
! ReceiveBuffer = 0x00001002,
! SendLowWater = 0x00001003,
! ReceiveLowWater = 0x00001004,
! SendTimeout = 0x00001005,
! ReceiveTimeout = 0x00001006,
! Error = 0x00001007,
! Type = 0x00001008,
! MaxConnections = 0x7FFFFFFF,
! DontLinger = unchecked((int)0xFFFFFF7F),
! ExclusiveAddressUse = unchecked((int)0xFFFFFFFB)
!
}; // enum SocketOptionName
Index: SocketShutdown.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketShutdown.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SocketShutdown.cs 4 Mar 2002 01:58:24 -0000 1.1
--- SocketShutdown.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * SocketShutdown.cs - Implementation of the
"System.Net.Sockets.SocketShutdown" class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * SocketShutdown.cs - Implementation of the
! * "System.Net.Sockets.SocketShutdown" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 24,32 ****
public enum SocketShutdown
{
! Both = 2,
! Receive = 0,
! Send = 1
}; // enum SocketShutdown
}; // namespace System.Net.Sockets
-
--- 25,33 ----
public enum SocketShutdown
{
! Receive = 0x0000,
! Send = 0x0001,
! Both = 0x0002
!
}; // enum SocketShutdown
}; // namespace System.Net.Sockets
Index: SocketType.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Sockets/SocketType.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SocketType.cs 4 Mar 2002 01:58:24 -0000 1.1
--- SocketType.cs 2 Apr 2003 07:16:00 -0000 1.2
***************
*** 1,7 ****
/*
! * SocketType.cs - Implementation of the "System.Net.Sockets.SocketType"
class.
*
- * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
- *
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
--- 1,8 ----
/*
! * SocketType.cs - Implementation of the
! * "System.Net.Sockets.SocketType" class.
! *
! * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software, you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
***************
*** 24,35 ****
public enum SocketType
{
! Dgram = 2,
! Raw = 3,
! Rdm = 4,
! Seqpacket = 5,
! Stream = 1,
! Unknown = -1
}; // enum SocketType
}; // namespace System.Net.Sockets
-
--- 25,36 ----
public enum SocketType
{
! Unknown = -1,
! Stream = 1,
! Dgram = 2,
! Raw = 3,
! Rdm = 4,
! Seqpacket = 5
!
}; // enum SocketType
}; // namespace System.Net.Sockets
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/Net/Sockets ProtocolFamily.cs,NONE,1.1 AddressFamily.cs,1.1,1.2 LingerOption.cs,1.1,1.2 MulticastOption.cs,1.2,1.3 ProtocolType.cs,1.1,1.2 SelectMode.cs,1.1,1.2 SocketFlags.cs,1.1,1.2 SocketOptionLevel.cs,1.1,1.2 SocketOptionName.cs,1.1,1.2 SocketShutdown.cs,1.1,1.2 SocketType.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=