Dart SDK
dart:io
Socket
port
port
Dart SDK
dart:io
Socket
port
property
port
Dart SDK
dart:io
Socket
Static methods
connect
Constructors
Socket
Properties
address
done
port
remoteAddress
remotePort
encoding
first
hashCode
isBroadcast
isEmpty
last
length
runtimeType
single
Operators
operator ==
Methods
close
destroy
setOption
add
addError
addStream
any
asBroadcastStream
asyncExpand
asyncMap
contains
distinct
drain
elementAt
every
expand
firstWhere
flush
fold
forEach
handleError
join
lastWhere
listen
map
noSuchMethod
pipe
reduce
singleWhere
skip
skipWhile
take
takeWhile
timeout
toList
toSet
toString
transform
where
write
writeAll
writeCharCode
writeln
int
port
Returns the port used by this socket.
Source
int get port;
Cookies management controls