Share

STUN Client and Server library

Code

Programming Languages: C++

License: Vovida Software License 1.0

Show:

What's happening?

  • Comment: compilation error: stun.cxx:681:7: error: #error Need some w

    To get this working on x86_64 cpu's is used the following patch in stun.cxx: @@ -671,6 +671,10 @@ tick |= lowtick; #elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) ) asm("rdtsc" : "=A" (tick)); +#elif defined(__GNUC__) && defined(__x86_64__) + unsigned _a,_d; + asm("rdtsc" : "=A" (_a), "=D" (_d)); + tick = ((unsigned long long) (_a)) | ((...

    2009-11-29 12:57:47 UTC by jver

  • Wrong Attribute: SOURCE-ADDRESS

    Problem occures when then server receives a message on the alternate ip. The port on which it sends the message is ok; but the field in the SOURCE-ADDRESS is wrong. I have tested this on some public servers with twinkle as a client. I have attached a wireshark output; see frame 18 (line 296 and line 280): Src Port: stun (3478) as reported by wireshark and is correct behavior Port...

    2009-08-28 10:03:49 UTC by rpistolea