mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-19 03:09:24 +01:00
Merge pull request #12 from Zarklord1/patch-1
Update socket_functions.h
This commit is contained in:
commit
557ce334a4
@ -33,6 +33,7 @@ extern u32 nsysnet_handle;
|
|||||||
#include <gctypes.h>
|
#include <gctypes.h>
|
||||||
|
|
||||||
#define INADDR_ANY 0
|
#define INADDR_ANY 0
|
||||||
|
#define INADDR_BROADCAST 0xFFFFFFFF
|
||||||
|
|
||||||
#define AF_INET 2
|
#define AF_INET 2
|
||||||
|
|
||||||
@ -47,6 +48,7 @@ extern u32 nsysnet_handle;
|
|||||||
|
|
||||||
#define SOL_SOCKET -1
|
#define SOL_SOCKET -1
|
||||||
#define SO_REUSEADDR 0x0004
|
#define SO_REUSEADDR 0x0004
|
||||||
|
#define SO_BROADCAST 0x0020 // broadcast
|
||||||
#define SO_NONBLOCK 0x1016
|
#define SO_NONBLOCK 0x1016
|
||||||
#define SO_MYADDR 0x1013
|
#define SO_MYADDR 0x1013
|
||||||
#define SO_RCVTIMEO 0x1006
|
#define SO_RCVTIMEO 0x1006
|
||||||
|
Loading…
Reference in New Issue
Block a user