Commit 419ec338 authored by Marcel Stör's avatar Marcel Stör
Browse files

Add two small fixes

parent d2fbf40c
......@@ -78,7 +78,7 @@ Creates an UDP socket.
none
#### Returns
net.udpsocket sub module
[net.udpsocket sub module](#netudpsocket-module)
#### See also
[`net.createConnection()`](#netcreateconnection)
......@@ -442,10 +442,10 @@ The syntax and functional similar to [`net.server:listen()`](#netserverlisten),
Register callback functions for specific events.
The syntax and functional similar to [`net.socket:on()`](#netsocketon). However, only "received", "sent" and "dns" are supported events.
The syntax and functional similar to [`net.socket:on()`](#netsocketon). However, only "receive", "sent" and "dns" are supported events.
!!! note
The `received` callback receives `port` and `ip` *after* the `data` argument.
The `receive` callback receives `port` and `ip` *after* the `data` argument.
## net.udpsocket:send()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment