|
Function |
Description |
|
Blocks until an incoming connection request is accepted. | |
|
Binds the socket to a local IP address and/or port. | |
|
Attempts to connect the socket to a remote end point until either a connection is established, the remote end point refuses the connection, or the specified timeout interval elapses. | |
|
Constructs a zSocket object. | |
|
Destroys a zSocket object. | |
|
Enables or disables datagram broadcasting. | |
|
Enables or disables reuse of a local end point within a short period of time. | |
|
Returns the socket handle used by the underlying operating system. | |
|
Places a server zSocket object into a listening state, in which it monitors for incoming connection requests. | |
|
Returns the local end point for a bound socket. | |
|
Blocks until at least one byte is available for reading (or until a read timeout occurs), and returns the bytes that were read. | |
|
Blocks until a datagram is received (or until a read timeout occurs), and returns the datagram. | |
|
Returns the remote end point for a connected socket. | |
|
Specifies the duration that a TCP connection can remain open when the socket is closed in order to ensure that all outbound bytes are trasmitted to the receiver. | |
|
Can be used to disable the Nagle algorithm. | |
|
Sets the size of the read buffer used for this socket by the underlying operating system. | |
|
Sets the timeout duration for read operations. | |
|
Sets the size of the write buffer used for this socket by the underlying operating system. | |
|
Sets the timeout duration for write operations. | |
|
Waits until the socket has bytes to read (enqueued connection requests for server sockets) or until the specified timeout period elapses. | |
|
Waits until one or more of the specified sockets has bytes to read (enqueued connection requests for server sockets) or until the specified timeout period elapses. | |
|
Blocks until all of the specified bytes are written (or until a write timeout occurs). | |
|
Blocks until the specified datagram is written (or until a write timeout occurs). |