Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHow 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!!!
Altera_Forum
Honored Contributor
9 years agoI 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