-
Does anyone know of a way to use UDT (i.e. emulate tcp) or the UDP interface in UDT to write a broadcast packet (use lan broadcast) that can be sent from one node and picked up by any other node on that port on the network ?
Many thanks
David.
2009-08-27 17:20:42 UTC in udt
-
Generally this is not an issue, but would be the other way round. i.e. if the listening port (server) is public anyone can get to it from anywhere. The client can be thought of as a web browser and server as web server, therefor there is no worry about what NAT your browser is behind (unless all udp or in this case tcp port 80 traffic is blocked).
We have implemented holepunching in...
2009-05-28 11:35:50 UTC in udt
-
To allow the compile to work, I had to add
#ifdef __MINGW__
#include <ws2tcpip.h>
#endif
To the udt.h header file. Apart from that and the ifndef __MINGW__ at the typedefs all that I needed to do was make sure MINGW typedef UDPSOCKET as an int rather than SOCKET type. I am running all tests now and if there are any problems I will let you know.
The changes are
45 #ifndef...
2009-05-06 23:59:45 UTC in udt
-
Sorry I meant __MINGW__ (oohps)
2009-05-06 23:20:34 UTC in udt
-
Is it possible to use an #ifndef MINGW ? which most mingw compilers add by default ?
I mean at the int32_t typedef, just to make things smooth on all platforms (and save a bit of typing in the docs:-) )
All looks good though, thanks again.
2009-05-06 17:54:37 UTC in udt
-
Hi
1: Yes I omitted to tell you this as we had already used this compiler flag for another reason in our codebase, so I missed it, but it seems you are correct and this is required.
2: This is also correct, I have this
#ifdef __MSVC__
// Explicitly define 32-bit and 64-bit numbers
typedef __int32 int32_t;
typedef __int64 int64_t;
typedef unsigned __int32 uint32_t;
#if...
2009-05-06 16:25:30 UTC in udt
-
Meant to say Sphere is extremely interesting and complimentary to what we are doing. I hope we can provide your project with some help sometime.
2009-05-04 20:56:21 UTC in udt
-
No problem at all, were just grateful for the product, it's a life saver. If it helps at all we have a file called wintools.zip at http://www.maidsafe.net/wintools.zip with mingw, msys, codeblocks etc. This will allow codeblocks to use gbd or in fact you can do this yourself in a command prompt. This makes windows builds very similar to linux builds and we have found it very useful in house...
2009-05-04 20:54:28 UTC in udt
-
Hi, wondered how this was going? Really sorry I am not pushing you so please don't feel that way. If you check out www.maidsafe.net you will see our project which is using UDT. We are at the point where we have UDT with hole punching and upnp (from libtorrent) and kademlia with down list and force K modifications. We use kademlia nodes routing table to provide completely decentralised rendezvous...
2009-04-30 21:06:04 UTC in udt
-
Excellent, if I can help at all please let me know, we have several test machines all building this and it would be great to mirror your svn as I said. We have several unit tests running against udt as well and can add more if any problems arise.
David.
2009-04-22 19:07:31 UTC in udt