blob: 8f823957b50c669852f79d225f8f0d5e4774a1d7 [file] [log] [blame] [view]
# SocketPair class
<p>Typed wrapper around a linked pair of socket objects and the
zx_socket_create() syscall used to create them.</p>
## Constructors
[SocketPair](../zircon/SocketPair/SocketPair.md) ([int options = Socket.STREAM])
_factory_
## Properties
##### [first](../zircon/SocketPair/first.md) &#8594; [Socket](../zircon/Socket-class.md)
_<span class="feature final">final</span><span class="feature inherited">inherited</span>_
##### [hashCode](../zircon/SocketPair/hashCode.md) &#8594; int
The hash code for this object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [runtimeType](../zircon/SocketPair/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [second](../zircon/SocketPair/second.md) &#8594; [Socket](../zircon/Socket-class.md)
_<span class="feature final">final</span><span class="feature inherited">inherited</span>_
##### [status](../zircon/SocketPair/status.md) &#8594; int
_<span class="feature final">final</span><span class="feature inherited">inherited</span>_
## Methods
##### [noSuchMethod](../zircon/SocketPair/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_<span class="feature inherited">inherited</span>_
##### [toString](../zircon/SocketPair/toString.md)() String
A string representation of this object.
_<span class="feature inherited">inherited</span>_
## Operators
##### [operator ==](../zircon/SocketPair/operator_equals.md)(Object other) bool
The equality operator.
_<span class="feature inherited">inherited</span>_