From 8f928059b3c3968983b3bc9665ca647be040797f Mon Sep 17 00:00:00 2001 From: Izaya Date: Sun, 23 Apr 2017 12:57:46 +1000 Subject: [PATCH] Fixed some technical errors. --- doc/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api.md b/doc/api.md index 6c8f2f5..17763fc 100644 --- a/doc/api.md +++ b/doc/api.md @@ -49,9 +49,9 @@ Note: Settings have to be set in the kernel module, at the line ``` tM,nP,nID = {}, 4096, 1 ``` -Where 4096 is the port and 1 is the device ID. Device ID can be any data type, port must be a number. +Where 4096 is the port and 1 is the device ID. -Network messages can be read from `_G.ev`, they have the type `net_msg` +Network messages events have the type `net_msg` ### `ns(id,po,msg)` Sends network message `msg` to device `id` on port `po`