Custom Types
With custom types you can add your very own Net Types without editing the main server code. It's recommended to use 4 digits for custom Net Types to avoid collisions with the main Net Types that are using 3 digits.
Basic example
Go to /custom folder and open the custom-types.js file.
You'll see an empty function there. Let's add some juice with a basic echo function.
So, if we send this message:
We'll receive:
Easy, isn't it?
Last updated
Was this helpful?