Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

need little help

Altera_Forum
Honored Contributor II
1,553 Views

Dont beat me http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif I&#39;m not familiar with uClinux, but I should ask you all. 

My system consist of uClinux 1.4 and Altera Dev Board on Cyclone II. 

I&#39;d like to write a C program to work with network (may be sockets, may be packets decode).  

Is there any libraries for using the network?  

Where may I find some information about this stuff? 

 

Thanks to all.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
461 Views

Now I recognized that I need a PCAP library under uCLinux. 

How can I port it under uCLinux? Or may be anyone had already done that?
0 Kudos
Altera_Forum
Honored Contributor II
461 Views
0 Kudos
Altera_Forum
Honored Contributor II
461 Views

 

--- Quote Start ---  

originally posted by hippo@Mar 22 2006, 07:40 AM 

check this thread, there is a socket example. 

http://forum.niosforum.com/forum/index.php?showtopic=3453 (http://forum.niosforum.com/forum/index.php?showtopic=3453

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13661) 

--- quote end ---  

 

--- Quote End ---  

 

thx, but I also need more low level programming, to get packets of different protocols such as arp, tcp/ip...
0 Kudos
Altera_Forum
Honored Contributor II
461 Views

Hi, 

 

you can already do a lot things , if you try out raw sockets (UDP, ICMP, TCP/IP). If you do so you can get even a better performance of your network throughput. But this has also an disadvantage. You will have to take care all about the protocol, linux doesn&#39;t do this at this level.
0 Kudos
Reply