Hello,
On Thu, 22 Oct 2009, Ashok Gautham wrote:
> On Thu, Oct 22, 2009 at 7:21 AM, Kapil Hari Paranjape
> wrote:
>
> > Or you could always use "socat".
> >
> > A simple "echo" over UDP could be implemented as follows:
> > $ socat - UDP:loopback:2000,bind=:2000
>
> This was just a simple exam
On Thu, Oct 22, 2009 at 7:21 AM, Kapil Hari Paranjape wrote:
> Hello,
>
> Or you could always use "socat".
>
> A simple "echo" over UDP could be implemented as follows:
> $ socat - UDP:loopback:2000,bind=:2000
This was just a simple example program to teach a language. Much like
the "Hello Worl
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.
I shall explain these programs line by line.
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.
I hope you guys got that far at