/* Copyright (c) 2000 Miller Puckette. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in the Pd distribution. */ /* the "pdsend" command. This is a standalone program that forwards messages from its standard input to Pd via the netsend/netreceive ("FUDI") protocol. */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include "s_net.h" static void sockerror(char *s); /* print addrinfo lists for debugging */ /* #define PRINT_ADDRINFO */ char sendbuf[NET_MAXPACKETSIZE]; int main(int argc, char **argv) { … } void sockerror(char *s) { … }