Arduino - Ethernet

Arduino

Reference Language | Libraries | Comparison | Changes

## Ethernet library

With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports up to four concurrent connection (incoming or outgoing or a combination).

#### Ethernet class

The Ethernet class initializes the ethernet library and network settings.

- begin()

#### Server class

The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices).

- Server()
- begin()
- available()
- write()
- print()
- println()

#### Client class

The client class creates clients that can connect to servers and send and receive data.

- Client()
- connected()
- connect()
- write()
- print()
- println()
- available()
- read()
- flush()
- stop()

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share|
©Arduino | Edit Page | Page History | Printable View | All Recent Site Changes