Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Home-made Ethernet cable as we didn't have any adapters anywhere. Beautiful, eh?
Anyway, Ethernet works as I've posted stuff to twitter (woot). What I can't figure is the correct way to send a packet over the network: what's the syntax for sending the created outgoing pocket and how do I specify a destination?
What I have so far:
// make an array for the packet char myword[] = "Hello"; // size of the array int size = sizeof(myword); // create a packet eth.write(myword,size); // send the packet