socket :: Socket :: defaultinit
core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			socket :: Socket :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).
# A general Socket, either TCP or UDP
abstract class Socket
	# Underlying C socket
	private var native: NativeSocket is noinit
	# Is this socket closed?
	var closed = false
	# Set whether calls to `accept` are blocking
	fun blocking=(value: Bool)
	do
		# We use the opposite from the native version as the native API
		# is closer to the C API. In the Nity API, we use a positive version
		# of the name.
		native.non_blocking = not value
	end
end
					lib/socket/socket.nit:23,1--40,3