Function

CFSocketGetSocketFlags

Returns flags that control certain behaviors of a CFSocket object.

Declaration

CFOptionFlags CFSocketGetSocketFlags(CFSocketRef s);

Parameters

s

The CFSocket to examine.

Return Value

A bitwise-OR combination of flags controlling the behavior of s. See CFSocket Flags for the list of available flags.

Discussion

See CFSocketSetSocketFlags for details on what the flags of a CFSocket mean.

See Also

Configuring Sockets

CFSocketCopyAddress

Returns the local address of a CFSocket object.

CFSocketCopyPeerAddress

Returns the remote address to which a CFSocket object is connected.

CFSocketDisableCallBacks

Disables the callback function of a CFSocket object for certain types of socket activity.

CFSocketEnableCallBacks

Enables the callback function of a CFSocket object for certain types of socket activity.

CFSocketGetContext

Returns the context information for a CFSocket object.

CFSocketGetNative

Returns the native socket associated with a CFSocket object.

CFSocketSetAddress

Binds a local address to a CFSocket object and configures it for listening.

CFSocketSetSocketFlags

Sets flags that control certain behaviors of a CFSocket object.