File: qa-broadcast

package info (click to toggle)
newlisp 10.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 6,248 kB
  • sloc: ansic: 33,280; lisp: 4,181; sh: 609; makefile: 215
file content (3 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (4)
1
2
3
newlisp -e '(net-receive (net-listen 3000 "" "udp") buff 10) (if (= buff "hello") "broadcast Ok" "broadcast Problem")' &
newlisp -e '(net-send (net-connect "10.0.0.255" 3000 "broadcast") "hello")'