esl / jerboa

STUN/TURN encoder, decoder and client library in Elixir
https://www.erlang-solutions.com/products/mongooseim.html
Other
14 stars 6 forks source link

Narrow `Client.ip` type to IPv4 IPs #107

Closed arkgil closed 7 years ago

arkgil commented 7 years ago

Base TURN RFC requires that we work on IPv4 addresses only. Unfortunately there might be the case when someone would like to send Binding request only, which is not restricted to IPv4. However we can't know that before starting the client, so it's safer to narrow down the spec to IPv4.

Partially addresses #95.