Zen API | Contents | Reference |

zSocket functions Functions
zSocket functions Legend
Functions

Function | Description
zSocket_Accept | Blocks until an incoming connection request is accepted.
zSocket_Bind | Binds the socket to a local IP address and/or port.
zSocket_Connect | 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.
zSocket_Construct | Constructs a zSocket object.
zSocket_Destroy | Destroys a zSocket object.
zSocket_EnableBroadcast | Enables or disables datagram broadcasting.
zSocket_EnableReuseAddress | Enables or disables reuse of a local end point within a short period of time.
zSocket_Handle | Returns the socket handle used by the underlying operating system.
zSocket_Listen | Places a server zSocket object into a listening state, in which it monitors for incoming connection requests.
zSocket_LocalEndPoint | Returns the local end point for a bound socket.
zSocket_Read | Blocks until at least one byte is available for reading (or until a read timeout occurs), and returns the bytes that were read.
zSocket_ReadFrom | Blocks until a datagram is received (or until a read timeout occurs), and returns the datagram.
zSocket_RemoteEndPoint | Returns the remote end point for a connected socket.
zSocket_SetLingerTime | 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.
zSocket_SetNoDelay | Can be used to disable the Nagle algorithm.
zSocket_SetReadBuffer | Sets the size of the read buffer used for this socket by the underlying operating system.
zSocket_SetReadTimeout | Sets the timeout duration for read operations.
zSocket_SetWriteBuffer | Sets the size of the write buffer used for this socket by the underlying operating system.
zSocket_SetWriteTimeout | Sets the timeout duration for write operations.
zSocket_Wait | Waits until the socket has bytes to read (enqueued connection requests for server sockets) or until the specified timeout period elapses.
zSocket_WaitAny | 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.
zSocket_Write | Blocks until all of the specified bytes are written (or until a write timeout occurs).
zSocket_WriteTo | Blocks until the specified datagram is written (or until a write timeout occurs).

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference