nodertc / stun

Low-level Session Traversal Utilities for NAT (STUN) client and server
MIT License
160 stars 29 forks source link

Use Map to store attributes #12

Closed reklatsmasters closed 5 years ago

reklatsmasters commented 6 years ago

Any attribute type MAY appear more than once in a STUN message. Unless specified otherwise, the order of appearance is significant: only the first occurrence needs to be processed by a receiver, and any duplicates MAY be ignored by a receiver.

https://tools.ietf.org/html/rfc5389#section-15