Try/catch to get ipv4 adress : I was reading a lesson about protocol , but I don't understand why use a try/catch to get an ipv4 adress.
Thank you
[Code][1]


  [1]: https://i.stack.imgur.com/IKbLj.jpg