added more api calls to rnet.c, updated examples to support ipv4/6
Signed-off-by: Jak Barnes <contact@jakbarnes.co.uk>
This commit is contained in:
parent
bb01a49398
commit
38dce94577
1 changed files with 912 additions and 485 deletions
|
|
@ -33,11 +33,13 @@ int main()
|
|||
|
||||
// Networking
|
||||
InitNetwork();
|
||||
ResolveHost("www.raylib.com");
|
||||
ResolveHost("www.google.com");
|
||||
ResolveIP("2001:4860:4860::8888");
|
||||
ResolveIP("8.8.8.8");
|
||||
|
||||
// Main game loop
|
||||
while (!WindowShouldClose()) {
|
||||
|
||||
while (!WindowShouldClose())
|
||||
{
|
||||
// Draw
|
||||
BeginDrawing();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue