Macaw OS C reference

Function net_online

#include <macaw.h>
int net_online(void);

Checks whether Macaw OS is dialled in to the Macaw network.

Parameters

It takes nothing.

Returns int

1 while it's online, or 0.

In The network, with net_dial, net_connect, net_send, net_readline, net_read, net_receive, net_status, net_peer, net_close, net_listen, net_accept, net_port.