bind -package:ad
Bind the socket to an address. The socket must not already be bound.
The
Family passed to
bind must be the same as that
passed to
socket. If the special port number
defaultPort is passed then the system assigns the next
available use port.
Bind the socket to an address. The socket must not already be bound.
The
Family passed to
bind must be the same as that
passed to
socket. If the special port number
defaultPort
is passed then the system assigns the next available use port.
Monadic indexed bind for holey monoids.
Binds parameters to a prepared statement. Once
nextRow returns
Nothing, the statement must be reset with the
reset
function before it can be executed again by calling
nextRow.
bind :: forall m a b c . (Bind m, CoArbitrary a, CoArbitrary b, Arbitrary (m a), EqProp (m a), Show (m a), Arbitrary (m b), Arbitrary (m c), EqProp (m c), Arbitrary (m (m (m a))), Show (m (m (m a)))) => m (a, b, c) -> TestBatch Properties to check that the
bind m satisfies the bind
properties
Implementation of
>>= without the
Empty constraint
that is needed for
return.
O(n). The monad bind operation, (>>=), for multisets.
O(n). The monad bind operation, (>>=), for multisets.
Bind the socket to the given address (cf.
zmq_bind).
Convenience function for binding values to all parameters. This will
fail if the list has the wrong number of parameters.
Bind the memory area associated with the device pointer to a texture
reference given by the named symbol. Any previously bound references
are unbound.
bind n f provides f with a fresh variable, which can
be used in any extended context.
Returns an Abs which binds the extra variable.
Bind a socket to an address.
- Calling bind on a closed socket throws
eBadFileDescriptor even if the former file descriptor has been
reassigned.
- It is assumed that bind never blocks and therefore
eInProgress, eAlready and eInterrupted don't
occur. This assumption is supported by the fact that the Linux manpage
doesn't mention any of these errors, the Posix manpage doesn't mention
the last one and even MacOS' implementation will never fail with any
of these when the socket is configured non-blocking as argued
here.
- This operation throws SocketExceptions. Consult your
man page for details and specific errnos.
Typed operation to bind parameters. Inferred
ToSql is used.