More socket API changes
This commit is contained in:
parent
4c9057cec2
commit
97d01fe36d
1 changed files with 864 additions and 696 deletions
|
|
@ -22,6 +22,9 @@
|
|||
|
||||
#include "raylib.h"
|
||||
|
||||
#define MYPORT "4950"
|
||||
#define MAXBUFLEN 100
|
||||
|
||||
int main()
|
||||
{
|
||||
// Setup
|
||||
|
|
@ -32,7 +35,7 @@ int main()
|
|||
SetTargetFPS(60);
|
||||
|
||||
// Networking
|
||||
InitNetwork();
|
||||
InitNetwork();
|
||||
|
||||
// Main game loop
|
||||
while (!WindowShouldClose())
|
||||
|
|
@ -47,7 +50,7 @@ int main()
|
|||
EndDrawing();
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
// Cleanup
|
||||
CloseWindow();
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue