Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12455 Discussions

How to implement TCP/IP Client basing on NiosII? ---SSS works

Altera_Forum
Honored Contributor II
852 Views

Hello, does somebody know how to implement TCP/IP Client basing on NiosII? 

 

I have DE2-115 Kit, and it works with simple socket server as a server(of course:p) 

 

Thanks in advance!!! 

 

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
115 Views

I never tried it with Nios, but I guess you can do it like on other common systems. 

First of all replace the bind() and listen() calls with connect(); then replace recv() with send() and change the code flow according to the client perspective. 

I think you can use the select() as well to callback the event handler functions
Reply