Network module basics. More...
Functions | |
VTM_API int | vtm_module_network_init (void) |
VTM_API void | vtm_module_network_end (void) |
VTM_API int vtm_module_network_init | ( | void | ) |
Initializes the network module.
This function must be called before you can use any other network function. On Windows this initializes the Windows Socket Api (WSA).
VTM_API void vtm_module_network_end | ( | void | ) |
Deinitializes the network module.
All allocated resources are released.
On Windows this will shut down the WSA subsystem.