| Author |
Message |
rfmw
Joined: 10 May 2001 Posts: 520 Helped: 38
|
04 Feb 2009 18:13 linux closetcp |
|
|
|
|
Dear all,
I have an embedded board with ARM926EJ-S chip running linux 2.6.
I would like to create an application or program (server app) for this embedded board to send back data upon request by ethernet from the client (running on windows).
I need examples of a simple C code, how to implement socket or TCP-IP or UDP access and transmission of data through ethernet interface on embedded linux.
Are there any functions in linux like: opentcp(), sendtcp(), receivetcp(), closetcp(), etc?
Please note that I'm a beginner in linux.
Thanks a lot in advance,
rfmw
|
|
| Back to top |
|
 |
rfmw
Joined: 10 May 2001 Posts: 520 Helped: 38
|
07 Feb 2009 13:08 simple arm boards running linux |
|
|
|
|
I've successfully made both, the server app, running on my embedded board, and the client app, running within Matlab, WinXP.
If anybody needs the socket stuff, here it is:
http://www.cs.utah.edu/~swalton/listings/sockets/programs/
|
|
| Back to top |
|
 |
harjit_nit
Joined: 13 Jul 2009 Posts: 8 Location: Jalandhar
|
14 Sep 2009 8:50 Re: Simple client or server app on embedded ARM running linu |
|
|
|
|
Hi
I want to make a simple client-server application to transmit a voice signal in MATLAB.As you had worked on this application. I think you can help me.
Please guide me how Can i create this model...
thanks
|
|
| Back to top |
|
 |
Google AdSense

|
14 Sep 2009 8:50 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
amraldo
Joined: 29 Aug 2004 Posts: 287 Helped: 25 Location: egypt, cairo
|
03 Oct 2009 11:13 Re: Simple client or server app on embedded ARM running linu |
|
|
|
|
| Go to micrium website, find their application notes there are alot of examples related to their uc/tcp-ip. they can be ported easily to linux. it is one to one mapping.
|
|
| Back to top |
|
 |
nishantmb
Joined: 23 Sep 2009 Posts: 12
|
10 Oct 2009 10:16 Re: Simple client or server app on embedded ARM running linu |
|
|
|
|
there are some demo examples on WROX-beginer's linux programming ed-4
these will give you some good idea of socket programming
|
|
| Back to top |
|
 |