I need to have a project done in a few days, its a basic client and server interface. The catch is that it needs to be all raw sockets. I have no problem with creating that,
In answer to your question Andrew, here's an example:
This answer helped me get WoL working. In this case the data is:
preamble = bytearray((0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF)) MAC = bytearray((0x00, 0x14, 0x85, 0xa4, 0x73, 0xce)) data = PREAMBLE + 16*MAC