@mashingan the documentation explicitly contains the following as an example of using UDP, which is what @luntik2012 was referring to: var socket = newSocket() socket.sendTo("192.168.0.1", Port(27960), "status\n") Run
I have submitted a PR to update the documentation: [https://github.com/nim-lang/Nim/pull/8475/files](https://github.com/nim-lang/Nim/pull/8475/files)