- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm working on Simple socket server example in which it uses tcp/ip...since I need high transmission speed without control flow... I'd like to use the udp/ip...what kind of modifications should I do in Simple Socket Server example to use udp instead of tcp???? RegardsLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What bitrate do You need?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
at least 5Mbps...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that this wikipedia page (http://en.wikipedia.org/wiki/bsd_socket) is a good start to learn how to use the API, and it shows the difference between UDP and TCP handling, from both the server and client sides.
Remember that with UDP you may loose packets, as you have no flow control or acknowledge mechanism.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
edit simple_socket_server.c file and write your own UDP code, disable the previous one completely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Daixiwen ,
what is the maximum data rate we can achieve on nios using UDP..?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It depends on too many factors to give a generic answer. You must run some tests.
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