Cronous Emulation Server Daemon

TCPSocket Methods

The methods of the TCPSocket class are listed below. For a complete list of TCPSocket class members, see the TCPSocket Members topic.

Public Instance Methods

check (inherited from TCPSocketHandler) Checks for socket validity.
close Closes connection.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
on_available Event to be overrided, notifying data availability.
on_disconnect Event to be overrided, notifying disconnection.
open Opens connection to end_point.
post_open (inherited from TCPSocketHandler) Adds the socket to the event manager.
pre_close (inherited from TCPSocketHandler) Removes the socket from the event manager.
process_error Function called when an error occurs during the polling.
process_read Processes reading.
process_write Processes writing.
receiveOverloaded. Receives a piece of data.
sendOverloaded. Pushes data to be sent.
ToString (inherited from Object) Returns a String that represents the current Object.
wants_reading_notification Check whether the socket wants to process reading.
wants_writing_notification Check whether the socket wants to process writing.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
send_now Sends data immediately.

See Also

TCPSocket Class | croemud.connection Namespace