Merge pull request #8476 from euantorano/patch-1

Update example code for UDP sockets
This commit is contained in:
Dominik Picheta
2018-07-30 13:44:38 +01:00
committed by GitHub

View File

@@ -41,7 +41,7 @@
## immediately.
##
## .. code-block:: Nim
## var socket = newSocket()
## var socket = newSocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)
## socket.sendTo("192.168.0.1", Port(27960), "status\n")
##
## Creating a server