- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page