Public Methods

  Name Description
Public method AsyncSend Call this method to start sending data from the SendBuffer
Public method BeginReceive Overloaded. Call this method to begin receiving data from the socket
Public method BeginSend Call this method to send data asynchronously
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method ExtractLineFromReceiveBuffer For text based protocols such as HTTP, SMTP, POP3 this method will extract a text line from the binary buffer.
Public method ExtractLinesFromReceiveBuffer Extracts text lines from a binary buffer until a blank line or the end of is encountered.
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method OnReceive Internal event handler for async. result which then fires DataReceived
Public method OnSend Handler for async. sending event. Will then fire SendCompleted when all the data in SendBuffer has been sent.
Public method Reset Resets the socket ready for (re)use
Public method ShiftReceiveBuffer Shifts the buffer after data has been extracted
Public method Shutdown Shuts down all communications on this socket
Public method SyncSend By default BufferedSocket uses the async. communications model but can be forced to send data synchronously by using this method.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Family method TraceWriteLine Debug trace output
Top

See Also