SSB_HighSpeed_Modem/modem/udp.h
Kurt Moraw 3deb0a09fd update
2020-10-27 16:41:16 +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;