Contents

CFSocketGetContext(_:_:)

Returns the context information for a CFSocket object.

Declaration

func CFSocketGetContext(_ s: CFSocket!, _ context: UnsafeMutablePointer<CFSocketContext>!)

Parameters

Discussion

The context version number for CFSocket is currently 0. Before calling this function, you need to initialize the version member of context to 0.

See Also

Configuring Sockets