#!/usr/bin/env python """ * Copyright (c) 2008, David Draco * All rights reserved. * I declare this code public domain. """ """ * This sends each line from stdin in a UDP packet to nldebug (unlike netcat) * see http://nldebug.sourceforge.net/ """ from helperfunc import * import sys while True: l = sys.stdin.readline() if l == "": break udpdebug(l)