This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "dyad.h" | |
/* Connects to a daytime server and prints the response */ | |
static void onConnect(dyad_Event *e) { | |
printf("connected: %s\n", e->msg); | |
} | |
static void onError(dyad_Event *e) { |
NewerOlder