[rnet] Renamed some functions

This commit is contained in:
Ray 2020-02-20 13:46:33 +01:00
parent e176a476c0
commit 42dad5df95
8 changed files with 83 additions and 83 deletions

View file

@ -46,7 +46,7 @@ int main(void)
char receiveBuffer[512] = { 0 };
// Create the client: getaddrinfo + socket + setsockopt + connect (TCP only)
clientResult = AllocSocketResult();
clientResult = LoadSocketResult();
if (!SocketCreate(&clientConfig, clientResult)) TraceLog(LOG_WARNING, "Failed to open client: status %d, errno %d", clientResult->status, clientResult->socket->status);
else
{
@ -57,7 +57,7 @@ int main(void)
}
// Create and add sockets to the socket set
socketSet = AllocSocketSet(1);
socketSet = LoadSocketSet(1);
AddSocket(socketSet, clientResult->socket);
SetTargetFPS(60); // Set our game to run at 60 frames-per-second