Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTcpClient_Cancel ( kTcpClient  client)

Cancels any pending I/O operations.

kTcpClient_SetCancelHandler and kTcpClient_Cancel represent alternative approaches to I/O cancellation; use one or the other approach, but not both.

This method is thread-safe.

Returns
Operation status.