Questions tagged [udp-data-transfer]

Questions related to UDT, a reliable UDP based protocol for distributed data transfers over large networks.

UDT (http://udt.sourceforge.net/) is a reliable UDP based protocol for distributed data transfers over large networks. From its home page:

UDT is a reliable UDP based application level data transport protocol for distributed data intensive applications over wide area high-speed networks. UDT uses UDP to transfer bulk data with its own reliability control and congestion control mechanisms.

22 questions
10
votes
0 answers

Tuning UDT's congestion control

I have an embedded device running Linux that serves sensor data across a LAN, but never WANs. Occasionally it may reside on one end of a http://en.wikipedia.org/wiki/Long_fat_network. The architecture I inherited uses TCP, but I'd like to add…
Cat Zimmermann
  • 1,422
  • 2
  • 21
  • 38
6
votes
2 answers

Whether there is a UDT backend for boost::asio?

Please, tell to me are whether exist UDT protocol backend for boost::asio? UDT is a reliable UDP based application level data transport protocol for distributed data intensive applications over wide area high-speed networks. (…
phprus
  • 63
  • 5
5
votes
2 answers

Python wrapper for UDT C++ library

I want to use the UDT library in Python, so I need a wrapper. I found this one: pyudt, but I dont know exactly how to use this to send files from a peer to peer. Can anybody point me in the right direction?
malamili
  • 293
  • 1
  • 4
  • 7
4
votes
2 answers

Is there a mechanism in Objective-C similar to Netty in Java for diverting TCP to UDT protocols in Transport Layer

Is there a mechanism in Objective-C similar to Netty in Java for diverting TCP to UDT protocols in Transport Layer. Now I want to implement HTTP request and response (runs over TCP by default) to run over UDT from my application. Is this…
RXGangam
  • 199
  • 12
2
votes
0 answers

Setup UDT library on XCode

I have a Macbook Pro Retina with OS X Yosemite installed. I need to get UDT library (see http://sourceforge.net/projects/udt/) working on my environment. I downloaded the most recent version (4.11), extracted it, then ran make -e os=OSX…
Matteo Monti
  • 8,362
  • 19
  • 68
  • 114
2
votes
2 answers

UDT send() - How to guarantee the sending of the entire buffer

I have been using UDT library a udp based protocol for sending files and I notice that the send function sends the data to a buffer before returning in blocking mode. However the send function seems to return without sending the entire data in…
kishore
  • 604
  • 3
  • 7
  • 13
1
vote
1 answer

Choosing library to link at runtime

I am trying to modify iperf to support another protocol (UDT). The UDT API is written such that it mirrors the standard BSD calls: socket(...); bind(...); listen(...); What I need to do then, is conditionally link with the UDT library so…
Andrew G
  • 1,547
  • 1
  • 13
  • 27
1
vote
1 answer

UDT can't send unsigned char*

I use UDT library to send my data. But seems it unable to send unsigned char* data properly. On one side I send it like int rc = UDT::sendmsg(socket, full_data, size, -1, true); On another side I receive like: unsigned char* data; int size =…
user2123079
  • 656
  • 8
  • 29
1
vote
1 answer

Java Netty UDT rendezvous does not work

I'm testing a modified version of this example using netty + udt + rendezvous: http://netty.io/4.0/xref/io/netty/example/udt/echo/rendezvous/package-summary.html I've started an instance on both my server and my local machine where the "self"-host…
Kr0e
  • 2,149
  • 2
  • 24
  • 40
1
vote
2 answers

"Connection was broken" error with UDT (UDP-based data transfer protocol)

I am programming a real-time game in which I need reliable UDP, so I've chosen to work with UDT (UDP-based data transfer protocol - http://sourceforge.net/projects/udt/). The clients (on browsers) send real-time messages to my server via CGI…
sissi_luaty
  • 2,839
  • 21
  • 28
0
votes
0 answers

can I connect HTTP server via UDT?

I want to set up a connection between my PC and an HTTP server on port 80. Is that feasible? I tried the following code but it didn't work. It reports an error: Connection setup failure: connection time out From my perspective, UDT uses UDP, so…
mike1ocean
  • 11
  • 2
0
votes
3 answers

UDT::send in a for loop sends only once. No error

This sends data only once which seems irrational to me as it is in a for loop: char* hello; for (int i = 0; i < 10; i++) { hello = "Hello world!\n"; if (UDT::ERROR == UDT::send(client, hello, strlen(hello) + 1, 0)) { cout <<…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
0
votes
1 answer

UDT server buffer size?

So here is my program for receiving UTD messages. I am planning to use it to receive 640*480 YUV images over wifi. How big buffer should I set? Is it possible to set buffer after receiving first image to find out the actual size? Bellow is my whole…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
0
votes
0 answers

UDT socket send() in blocking mode returns error code

I am writing a program using UDT (UDP-based Data Transfer Protocol) sockets. I created socket with default settings (which according to documentation has blocking read/write with infinite timeout). However, during my iterative calls to UD::send()…
hanvari
  • 111
  • 1
  • 7
0
votes
1 answer

Blocking IO (OIO) UDT Channel in Netty

I'd like to use Netty's implementation of UDT on a Blocking IO Channel. I already have a working NIO UDT implementation where Netty have a proper channels on NIO. I couldn't find an appropriate channel for OIO, It would be great if someone help me…
Kishore
  • 952
  • 2
  • 11
  • 31
1
2