Socket class

Constructors

Socket (Handle handle)

Properties

handleHandle

read-onlyinherited

hashCode → int

The hash code for this object.
read-onlyinherited

isValid → bool

read-onlyinherited

runtimeType → Type

A representation of the runtime type of the object.
read-onlyinherited

Methods

close() void

inherited

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

passHandle() Handle

inherited

read(int numBytes) ReadResult
toString() String

A string representation of this object.
inherited

write(ByteData data, [int options = 0]) WriteResult

Operators

operator ==(Object other) bool

The equality operator.
inherited

Constants

DATAGRAM const int
DISPOSITION_WRITE_DISABLED const int
DISPOSITION_WRITE_ENABLED const int
PEER_CLOSED const int
PEER_WRITE_DISABLED const int
READABLE const int
STREAM const int
WRITABLE const int
WRITE_DISABLED const int