netClose (Function) |
Top Previous Next |
Closes a network interface. When this function returns, no further communication is possible until the interface is re-opened using netOpen.
After this functions returns the netConnected() function will indicate than the connection to the network is unavailable.
Input: iface : SINT The network interface to close. 1 = Mobile network, 2 = LAN network, etc. (See Network)
Returns: INT
Declaration: FUNCTION netClose : INT;
Example: INCLUDE rtcu.inc |