Table of Contents
Table of contents
Functions, Macros
- (*oslWorkerFunction) the function-ptr
- osl_acceptConnectionOnSocket Waits for an ingoing connection on the socket
- osl_acquireSemaphore acquire() decreases the count
- osl_acquireThreadMutex Acquire the mutex, block if already acquired by another thread
- osl_addToSocketSet Adds a socket to the set
- osl_bindAddrToSocket Binds the given address to the socket
- osl_checkCondition Queries the state of the condition without blocking
- osl_clearSocketSet Clears the set from all previously added sockets
- osl_connectSocketTo Connects the socket to the given address
- osl_copySocket Create a socket as a copy of another
- osl_copySocketAddr Create a new SocketAddress and fill it from Addr
- osl_createCondition Creates a condition
- osl_createEmptySocketAddr Creates a socket-address for the given family
- osl_createInetSocketAddr Create an internet-address, consisting of hostaddress and port
- osl_createIpxSocketAddr Create an IPX address
- osl_createSemaphore Creates a semaphore
- osl_createSocket Create a socket of the specified Family and Type
- osl_createSocketSet Creates a set of sockets to be used with osl_demultiplexSocketEvents()
- osl_createSuspendedThread Create the thread, using the function-ptr pWorker as
its main (worker) function
- osl_createThread Create the thread, using the function-ptr pWorker as
its main (worker) function
- osl_createThreadMutex Create a thread-local mutex
- osl_demultiplexSocketEvents Checks multiple sockets for events
- osl_destroyCondition Free the memory used by the condition
- osl_destroySemaphore Release the OS-structures and free semaphore data-structure
- osl_destroySocket Closes the socket and frees the Socket data-structure
- osl_destroySocketAddr Free all memory allocated by pAddress
- osl_destroySocketSet Destroys a oslSocketSet
- osl_destroyThread Forcefully abort the thread, if it is still running
- osl_destroyThreadMutex Release the OS-structures and free mutex data-structure
- osl_enableNonBlockingMode Enables/disables non-blocking-mode of the socket
- osl_freeHandleOfThread Release our thread data-structure
- osl_getCurrentThread Retrieves the handle for the current thread
- osl_getDottedInetAddrOfSocketAddr Gets the address in dotted decimal format
- osl_getFamilyOfSocketAddr Retrieves the address-family from the Addr
- osl_getHostnameOfSocketAddr Gets the hostname represented by Addr
- osl_getInetPortOfSocketAddr Retrieves the internet port-number of Addr
- osl_getIpxNetNumber Gets the IPX Net-Number of the address
- osl_getIpxNodeNumber Gets the IPX Node-Number of the address
- osl_getIpxSocketNumber Gets the IPX Socket-Number of the address
- osl_getLastSocketError Delivers a constant decribing the last error for the socket system
- osl_getLastSocketErrorDescription Delivers a string which describes the last socket error
- osl_getLocalAddrOfSocket Retrieves the Address of the local end of the socket
- osl_getPeerAddrOfSocket Retrieves the Address of the remote end of the socket
- osl_getServicePort Looks up the port-number designated to the specified service/protocol-pair
- osl_getSocketOption Retrieves attributes associated with the socket
- osl_getSocketType Queries the socket for its type
- osl_getThreadPriority Retrieves the threads priority
- osl_isEqualThread Returns True is both Handles represent the same
thread-instance
- osl_isExceptionPending Checks if a request for out-of-band data will block
- osl_isInSocketSet Checks if socket is in the set
- osl_isReceiveReady Checks if read operations will block
- osl_isSendReady Checks if send operations will block
- osl_isThreadRunning Returns True if the thread was created and has not terminated yet
- osl_joinWithThread Blocks the calling thread until Thread has terminated
- osl_listenOnSocket Prepares the socket to act as an acceptor of incoming connections
- osl_receiveFromSocket Tries to receives BufferSize data from the (usually unconnected)
(datagram-)socket, if no error occurs
- osl_receiveSocket Tries to receive BytesToRead data from the connected socket,
if no error occurs
- osl_releaseSemaphore release() increases the count
- osl_releaseThreadMutex Release the mutex
- osl_removeFromSocketSet Removes a socket from the set
- osl_resetCondition Sets condition to False => wait() will block, check() returns False
- osl_resolveHostname Uses the systems name-service interface to find an address for pszHostname
- osl_resumeThread Wake-up a thread that was suspended with suspend() or
createSuspended()
- osl_sendSocket Tries to send BytesToSend data from the connected socket,
if no error occurs
- osl_sendToSocket Tries to send one datagram with BytesToSend data to the given ReceiverAddr
via the (implicitly unconnected) datagram-socket
- osl_setCondition Sets condition to True => wait() will not block, check() returns True
- osl_setInetPortOfSocketAddr Sets the Port of Addr
- osl_setSocketOption Sets the sockets attributes
- osl_setThreadPriority Changes the threads priority
- osl_shutdownSocket Shuts down communication on a connected socket
- osl_sleepThread Blocks the calling thread at least for the given number of
milliseconds
- osl_snprintf like sprintf, but copies not more than Len bytes and guaranties
that Buffer is zero-terminated even if cut short
- osl_suspendThread Suspend the execution of the thread
- osl_tryToAcquireSemaphore tryToAcquire() tries to decreases the count
- osl_tryToAcquireThreadMutex Try to acquire the mutex without blocking
- osl_waitCondition Blocks if condition is not set
If condition has been destroyed prematurely, wait() will
return with False
- osl_yieldThread Offers the rest of the threads time-slice to the OS
Variables
Macros
hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de