mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-16 07:11:11 +00:00
[rnet] Renamed some functions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user