Skip to content

Instantly share code, notes, and snippets.

#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) {