Z
Zagmojo
Guest
I'm beginning my endeavor into networking and have been coming across many a code containing something I don't entirely understand and have been unsuccessful in finding a definitive answer to. When defining a variable as a function, what is it being set to? Is it coming up with a value that I'm overthinking or is it legitimately existent?
An example is:
server = network_create_server_raw(network_socket_tcp, port, 20);
I don't understand what server is being set to in this case.
I also have a follow up question if and when this is resolved. It has to do with data structures (another key aspect of gamemaker I still don't understand even after hours on end of watching tutorials and reading forums) and how their recalled. The reason I bring it up in this thread specifically is due to the data structures often being set to varibales which, again, I don't comprehend.
Thanks for any and all help!
An example is:
server = network_create_server_raw(network_socket_tcp, port, 20);
I don't understand what server is being set to in this case.
I also have a follow up question if and when this is resolved. It has to do with data structures (another key aspect of gamemaker I still don't understand even after hours on end of watching tutorials and reading forums) and how their recalled. The reason I bring it up in this thread specifically is due to the data structures often being set to varibales which, again, I don't comprehend.
Thanks for any and all help!