Articles Posted by the Author:

  • EthernetClient()

    EthernetClient()

    Description Creates a client which can connect to a specified internet IP address and port (defined in the client.connect() function). Syntax EthernetClient() Parameters None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the […]


  • Client

    Client

    Description Client is the base class for all Ethernet client based calls. It is not called directly, but invoked whenever you use a function that relies on it. Functions - EthernetClient() - connected() - connect() - write() - print() - println() - available() - read() - flush() - stop() Libraries Reference Home The text of […]


  • println()

    println()

    Description Print data, followed by a newline, to all the clients connected to a server. Prints numbers as a sequence of digits, each an ASCII character (e.g. the number 123 is sent as the three characters ‘1’, ‘2’, ‘3’). Syntax server.println() server.println(data) server.println(data, BASE) Parameters data (optional): the data to print (char, byte, int, long, […]


  • print()

    print()

    Description Print data to all the clients connected to a server. Prints numbers as a sequence of digits, each an ASCII character (e.g. the number 123 is sent as the three characters ‘1’, ‘2’, ‘3’). Syntax server.print(data) server.print(data, BASE) Parameters data: the data to print (char, byte, int, long, or string) BASE (optional): the base […]


  • write()

    write()

    Description Write data to all the clients connected to a server. This data is sent as a byte or series of bytes. Syntax server.write(val) server.write(buf, len) Parameters val: a value to send as a single byte (byte or char) buf: an array to send as a series of bytes (byte or char) len: the length […]


  • available()

    available()

    Description Gets a client that is connected to the server and has data available for reading. The connection persists when the returned client object goes out of scope; you can close it by calling client.stop(). available() inherits from the Stream utility class. Syntax server.available() Parameters None Returns a Client object; if no Client has data […]


  • begin()

    begin()

    Description Tells the server to begin listening for incoming connections. Syntax server.begin() Parameters None Returns None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • EthernetServer()

    EthernetServer()

    Description Create a server that listens for incoming connections on the specified port. Syntax EthernetServer(port); Parameters port: the port to listen on (int) Returns None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in […]


  • Server

    Server

    Description Server is the base class for all Ethernet server based calls. It is not called directly, but invoked whenever you use a function that relies on it. Functions - EthernetServer() - begin() - available() - write() - print() - println() Libraries Reference Home The text of the 86Duino reference is a modification of the […]


  • IPAddress()

    IPAddress()

    Description Defines an IP address. It can be used to declare both local and remote addresses. Syntax IPAddress(address); Parameters address: a comma delimited list representing the address (4 bytes, ex. 192, 168, 1, 1) Returns None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is […]