All pastes #614577 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-11 17:16 UTC
rendered paste body
on *:socklisten:server: {
  sockaccept client $+ $rand(1000,9999)
}
on *:sockread:client*:{
  var %s
  sockread %s
  tokenize 32 %s
  if ($1 == HELLO) { .sockwrite -n $sockname HELLO WORLD }
}