mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* System.build: Start build System.Net.Sockets.Socket.cs, TcpClient.cs and TcpListener.cs 2002-01-23 Dick Porter <[email protected]> * SocketException.cs: Implemented * Socket.cs: Implemented most methods * LingerOption.cs: Made compile * AddressFamily.cs: Removed empty auto-generated comments 2002-01-23 Dick Porter <[email protected]> * SocketAddress.cs: Implemented. * IPEndPoint.cs: Turned 'Address' field into a real property. Implemented Create() and Serialize() methods. * IPAddress.cs: Fixed class constructor, turned 'Address' field into a real property. Removed undocumented "public IPAddress(string)" constructor. * EndPoint.cs: Implemented. All methods return NotSupportedException to enforce subclass overriding. * Dns.cs: Replaced fixed-layout Hostent struct and cygwin P/Invokes with portable internal calls. 2002-01-23 Dick Porter <[email protected]> * Win32Exception.cs: implement, with support for looking up runtime errors. 2002-01-23 Dick Porter <[email protected]> * Marshal.cs: Added GetLastWin32Error() * ExternalException.cs: Implemented 2002-01-23 Dick Porter <[email protected]> * System.Xml/XmlNode.cs: Fixed IndexerName attribute so it compiles under .net 1.0 2002-01-23 Dick Porter <[email protected]> * Linux.cs: GetFileTime and SetFileTime need to be static 2002-01-23 Dick Porter <[email protected]> * ManualResetEvent.cs: * AutoResetEvent.cs: Fixed DOS line endings svn path=/trunk/mcs/; revision=2127
41 lines
650 B
C#
Executable File
41 lines
650 B
C#
Executable File
//
|
|
// System.Net.EndPoint.cs
|
|
//
|
|
// Author:
|
|
// Dick Porter ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
using System.Net.Sockets;
|
|
|
|
namespace System.Net {
|
|
[Serializable]
|
|
public abstract class EndPoint {
|
|
|
|
// NB: These methods really do nothing but throw
|
|
// NotSupportedException
|
|
|
|
public virtual AddressFamily AddressFamily {
|
|
get {
|
|
throw new NotSupportedException();
|
|
}
|
|
}
|
|
|
|
public virtual EndPoint Create (SocketAddress address)
|
|
{
|
|
throw new NotSupportedException();
|
|
}
|
|
|
|
public virtual SocketAddress Serialize ()
|
|
{
|
|
throw new NotSupportedException();
|
|
}
|
|
|
|
protected EndPoint ()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|