Click or drag to resize

TFtpServer Class

A simple TFTP server class.
C#
Dispose()
the server to close the socket that it listens on.
Inheritance Hierarchy
SystemObject
  GSF.Net.TFtpTFtpServer

Namespace: GSF.Net.TFtp
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.181-beta
Syntax
public class TFtpServer : IDisposable
View Source

The TFtpServer type exposes the following members.

Constructors
 NameDescription
Public methodTFtpServerInitializes a new instance of the TFtpServer class
Public methodTFtpServer(Int32)Initializes a new instance of the TFtpServer class
Public methodTFtpServer(IPAddress)Initializes a new instance of the TFtpServer class
Public methodTFtpServer(IPEndPoint)Initializes a new instance of the TFtpServer class
Public methodTFtpServer(IPAddress, Int32)Initializes a new instance of the TFtpServer class
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the TFtpServer object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the TFtpServer object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStart Start accepting incoming connections.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnError Fired when the server encounters an error (for example, a non-parseable request)
Public eventOnReadRequest Fired when the server receives a new read request.
Public eventOnWriteRequest Fired when the server receives a new write request.
Top
Fields
 NameDescription
Public fieldStatic memberDefaultServerPort 
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also