GNet with Linux

Archives Forums/Linux Discussion/GNet with Linux

Arska(Posted 2012) [#1]
Does GNet work with Linux? I am trying to start my server program with Ubuntu, but i can't get server running.

local success
success = gnetlisten(host, port)
if not success then runtimeerror "Cannot create server"


And i get that runtimeerror.

Any ideas?


Htbaa(Posted 2012) [#2]
Are you sure a firewall doesn't block that port? Does gnetlisten binds itself to that port? If that's the case the port should be free.


Arska(Posted 2012) [#3]
Oh i see. Thanks, that was problem. Changed port and now it's running fine. :)