Jump to content

User:RossyMiles/Flatline: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 15: Line 15:
For every call to NetPlatform_Initalize, there has to be a corresponsing call to NetPlatform_Shutdown. On Windows, this function calls WSACleanup.
For every call to NetPlatform_Initalize, there has to be a corresponsing call to NetPlatform_Shutdown. On Windows, this function calls WSACleanup.


=== NetUPnP ===
=== NetUPnP_* ===
These functions provide basic automatic port forwarding for computers behind a router.
These functions provide basic automatic port forwarding for computers behind a router.


bool '''NetUPnP_Initalize'''(char** localip, char** routerip)
bool '''NetUPnP_Initalize'''(char** '''localip''', char** '''routerip''')
Initializes the UPnP library. Places the local ip address in localip and places the router's ip address in routerip.
Initializes the UPnP library. Places the local ip address in localip and places the router's ip address in routerip.


98

edits