[plt-scheme] Wake on Lan in Scheme

From: Geoffrey S. Knauth (geoff at knauth.org)
Date: Tue May 1 13:12:58 EDT 2007

On May 1, 2007, at 10:53, geb a wrote:
> Is there someone that knows how to broadcast a udp
> packet to a computer that is not turned and also how
> to do a crc check on the payload?

Do you have to do a CRC check yourself?  I looked at the following  
[forgive me, Python] code and it fed my hunch that higher-level  
socket calls already do this for you.

http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/wolpython.txt

Everything in that Python example can be done in MzScheme with help  
from:

http://planet.plt-scheme.org/display.ss?package=socket.plt&owner=vyzo
(require (planet "socket.ss" ("vyzo" "socket.plt" 1 2)))



Posted on the users mailing list.