Send a Byte to PC from Arduino Ethernet Shield


hi,
i new arduino , want create first ethernet project arduino acting node , pc acting server , collecting information nodes. examples should refer settings of arduino node?

there 2 protocols:
    udp:  send short message blindly port.  it fast there.
    tcp:  establish connection between ports.  bytes sent in 1 end come out other, in same order sent.  delivery may delayed until connection fails or closed delivery guaranteed.

udp stuff order of messages not critical , better drop message delay (like voice or video).  tcp better moving large amounts of data has arrive in order, sending file.

when "acting node" mean "acting client".  every machine on network node.  the machine establishes connection (like web browser) client.  the machine waits client connect server.

if sending short messages either want use udp each message sent separately or add protocol on tcp mark beginning , end of messages since comes out other end stream of bytes.


Arduino Forum > Using Arduino > Programming Questions > Send a Byte to PC from Arduino Ethernet Shield


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor