SSB_HighSpeed_Modem/hsmodem/udp.h
Kurt Moraw caff38495d update
2020-11-05 19:11:57 +01:00

10 lines
310 B
C

void UdpRxInit(int *sock, int port, void (*rxfunc)(uint8_t *, int, struct sockaddr_in*), int *keeprunning);
void sendUDP(char *destIP, int destPort, uint8_t *pdata, int len);
typedef struct {
int *sock;
int port;
void (*rxfunc)(uint8_t *, int, struct sockaddr_in*);
int *keeprunning;
} RXCFG;