Commit graph

5 commits

Author SHA1 Message Date
James R
72a8f27a52 Rename stun.c to stun.cpp 2023-05-15 00:19:29 -07:00
AJ Martinez
805186c3a9 RRID: initial commit, WIP broken 2023-03-28 01:19:43 -07:00
Sally Coolatta
fc934b38e1 Merge public next 2020-11-10 15:32:48 -05:00
James R
cf73df38b4 Use rand_s for Windoze
unsigned int is always 4 bytes on windows btw, so this should align properly.
2020-09-30 12:22:09 -07:00
James R
f7a4667bc3 Use STUN instead of curl to fetch the public IP address for Discord
RFC 5389 is a standard protocol that can be used for this instead of ip4.me.

I may have gone overboard on the CSPRNG... It was fun though.
2020-09-30 03:57:50 -07:00