Hello, On Thu, 22 Oct 2009, Girish Venkatachalam wrote: > Before that in case any of you wondered this is how you would run it. > > $ lua echosrvr.lua > > In another terminal > > $ lua echoclnt.lua > hi > > will get printed on both sides as the text will be echoed back thro' the UDP > socket.
Or you could always use "socat". A simple "echo" over UDP could be implemented as follows: $ socat - UDP:loopback:2000,bind=:2000 socat is a multipurpose data relay. See /usr/share/doc/socat/EXAMPLE.gz for more. By the *nix philosophy socat should have been written at the same time as named pipes and sockets were created. Regards, Kapil. -- _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc