SFENCE Wiki
The SFENCE dynamic library is an interface for writing programs.
Status: Beta
Brought to you by:
sfence
extern SFENCEAPI enum eSFENCE_Bool SFENCECALL Protocol_Protocol_Stop(struct sProtocol_Protocol *ps_protocol);
| Parameter | Meaning |
|---|---|
| ps_protocol | pointer of Protocol_Protocol |
| Value | Meaning |
|---|---|
| eSFENCE_Bool_True, eSFENCE_Bool_Success | protocol work was stopped |
| eSFENCE_Bool_Fail | it means that there was happend some critical error in driver of Protocol_Protocol object. |
Protocol_Protocol_Stop function is used for stop work with protocol. It can be called always. During work too. In that case it means that caller want protocol to finish work, usually, close connections and stop receiving and sending messages.