Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSocket_Shutdown | ( | kSocket | socket | ) |

Begins shutdown of socket communication.

Shutdown will occur automatically when the socket is destroyed. This method can be used to explicitly initiate shutdown before the socket is destroyed.

After shutdown, any additional socket operations will fail.

Parameters

  socket | Socket object.

Returns
  Operation status.