14 lines
326 B
C
14 lines
326 B
C
#include <tessesbroadcast.h>
|
|
#include <stdio.h>
|
|
bool sleepfunc(void* user,int times)
|
|
{
|
|
return true;
|
|
}
|
|
void broadcast_client_cb(broadcast_device_t* dev)
|
|
{
|
|
printf("%s: %s\n",dev->name,dev->url);
|
|
}
|
|
int main(int argc, char** argv)
|
|
{
|
|
broadcast_client("Test",BROADCAST_DEFAULT_PORT,NULL,sleepfunc,broadcast_client_cb);
|
|
} |