Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
762 Views

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

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 I
25 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