[9fans] UDP echo server sample code

2011-01-31 Thread ish
Can any one enlighten me on how announce() etc. can be used design an echo server with UDP, or point to samle code? ... char adir[40]; int afd ; afd = announce(udp!*!1234, adir); and?? ... -ishwar

Re: [9fans] UDP echo server sample code

2011-01-31 Thread Lucio De Re
On Mon, Jan 31, 2011 at 09:45:44AM +, ish wrote: afd = announce(udp!*!1234, adir); and?? ... while (read (afd, ...) 0) { write (afd, ...); } ... sort of thing? ++L