Zen API
 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
socketSocket object.
Returns
Operation status.