1.3.3.27 SYS_NET_GetStatus Function
C
SYS_NET_STATUS SYS_NET_GetStatus ( SYS_MODULE_OBJ object )
Summary
Returns System NET instance status.
Description
This function returns the current status of the System NET instance.
Precondition
SYS_NET_Open should have been called before calling this function
Parameters
Param | Description |
---|---|
object | SYS NET object handle, returned from SYS_NET_Open |
Returns
SYS_NET_STATUS
Example
// Handle "objSysNet" value must have been returned from SYS_NET_Open. if (SYS_NET_GetStatus (objSysNet) == SYS_NET_STATUS_SERVER_AWAITING_CONNECTION) { // NET system service is initialized and the NET server is ready to accept new connection. }
Remarks
None.