Send a packet over my home-made ethernet

24 Aug 2010 . Edited: 24 Aug 2010

Home-made ethernet

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