tests and more tests

This commit is contained in:
Ryan Ward 2018-06-15 14:04:50 -04:00
parent c7734a2afa
commit 02cdbc3bc2

View File

@ -17,7 +17,7 @@ function multi:newNode(name,settings)
-- When I think of more they will be added here
end
local node = {}
node.server = net:newServer(port) -- hosts the node using the default port
node.server = net:newUDPServer(port) -- hosts the node using the default port
node.port = multi.defaultNetworkPort
-- Lets tell the network we are alive!
node.server.OnDataRecieved(function(server,data,cid,ip,port)