From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Wozniak Date: Thu, 26 Jan 2006 09:26:48 -0500 Subject: [U-Boot-Users] Re: recieving network packets ? In-Reply-To: <3634de740601260323l57a698beh2636f99d70dddd98@mail.gmail.com> References: <3634de740601250603r38b2b323i4a075f7fcabe5260@mail.gmail.com> <20060125145628.6602E3525B1@atlas.denx.de> <3634de740601260323l57a698beh2636f99d70dddd98@mail.gmail.com> Message-ID: <43D8DC28.6030707@mc.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Maximus wrote: > On 1/25/06, Wolfgang Denk wrote: >> In message <3634de740601250603r38b2b323i4a075f7fcabe5260@mail.gmail.com> you >> wrote: >>> I uboot - i want to recieve network packets. I wrote a small >>> program using the code available in uboot. >>> However its not working ?. Can anyone point me where i am going >> wrong> ?. >> >> Which protocol are you trying to implement? > > Its an application level protocol using UDP. i am able to send > packet but unable to recieve > packets. > > I am trying to add a command which when executed, just acts like a > server - it just recieves some packets from a remote host and takes > action. > > i am having trouble in just doing that. i read the description in net/net.c. > > > Could u please help me on this. please let me know where am i doing wrong. > > i am implementing a command it does not send any packets - it just > recieves packets > from a remote host. (Just like a server in network applications.) UBoot has a netconsole capability which listens via UDP. Why not try using this feature instead of inventing something new. Once you have netconsole configured and working, a remote client can send a UBoot command, shell script, custom command or even a UBoot applet. > > > Regards, > John. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users >