Network

The Network library makes it easy to read and write data across machines on the Internet. It allows the creation clients and servers. A server connects to a list of clients for reading and writing data. A client is able to read and write data to a server.

Client

The Client class is used to create Client objects that connect to a server to exchange data.

Client
available()
read()
readChar()
readBytes()
readBytesUntil()
readString()
readStringUntil()
write()
clear()
stop()
ip()

Server

The Server class is used to create Server objects that send and receive data to and from associated clients, the other programs connected to it.

Server
write()
available()
stop()
disconnect()
ip()

Network Events

serverEvent()
clientEvent()
disconnectEvent()