Forum Discussion
Altera_Forum
Honored Contributor
20 years agoneed little help
Dont beat me http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif I'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'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.4 Replies
- Altera_Forum
Honored Contributor
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? - Altera_Forum
Honored Contributor
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) - Altera_Forum
Honored Contributor
--- 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...
- Altera_Forum
Honored Contributor
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't do this at this level.