Changed to using getaddrinfo() to resolve address of gateway
Changed to using getaddrinfo() to resolve address of gateway

MichalFoksa/mqtt-sn-tools,adamrenner/mqtt-sn-tools-contiki,adamrenner/mqtt-sn-tools-contiki,njh/mqtt-sn-tools,njh/mqtt-sn-tools,MichalFoksa/mqtt-sn-tools,adamrenner/mqtt-sn-tools-contiki