#include <dswifi9.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
Macros | |
#define | VCOUNT (*((u16 volatile *) 0x04000006)) |
#define | IPADDR(d, c, b, a) (unsigned long)(((( a )&0xff)<<24)|((( b )&0xff)<<16)|((( c )&0xff)<<8 )|((( d )&0xff))) |
#define | PA_NORMAL_TCP 1 |
#define | PA_NONBLOCKING_TCP 2 |
Fonctions | |
void | sgIP_dbgprint (char *txt,...) |
void | Timer_50ms (void) |
void | arm9_synctoarm7 () |
void | arm9_fifo () |
void | PA_InitWifi () |
bool | PA_ConnectWifiWFC () |
unsigned long | PA_chartoip (char *message) |
int | PA_InitSocket (int *socket, char *host, int port, int mode) |
int | PA_InitServer (int *sock, int port, int mode, int num_connect) |
#define IPADDR | ( | d, | |||
c, | |||||
b, | |||||
a | ) | (unsigned long)(((( a )&0xff)<<24)|((( b )&0xff)<<16)|((( c )&0xff)<<8 )|((( d )&0xff))) |
#define PA_NONBLOCKING_TCP 2 |
#define PA_NORMAL_TCP 1 |
#define VCOUNT (*((u16 volatile *) 0x04000006)) |
void arm9_fifo | ( | ) |
void arm9_synctoarm7 | ( | ) |
unsigned long PA_chartoip | ( | char * | message | ) |
bool PA_ConnectWifiWFC | ( | ) |
int PA_InitServer | ( | int * | sock, | |
int | port, | |||
int | mode, | |||
int | num_connect | |||
) |
int PA_InitSocket | ( | int * | socket, | |
char * | host, | |||
int | port, | |||
int | mode | |||
) |
void PA_InitWifi | ( | ) |
void sgIP_dbgprint | ( | char * | txt, | |
... | ||||
) |
void Timer_50ms | ( | void | ) |