Update of /cvsroot/pure-data/externals/mrpeach/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16038
Modified Files: tcpserver.c Log Message: removed the "break;" statement in the broadcast() code to enable broadcasting to all connected clients (and not jsut the first one)
Index: tcpserver.c =================================================================== RCS file: /cvsroot/pure-data/externals/mrpeach/net/tcpserver.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcpserver.c 28 Nov 2006 16:42:30 -0000 1.3 --- tcpserver.c 12 Dec 2006 09:07:01 -0000 1.4 *************** *** 444,448 **** { int client; - /* enumerate through the clients and send each the message */ for(client = 0; client < x->x_nconnections; client++) /* check if connection exists */ --- 444,447 ---- *************** *** 451,455 **** { /* socket exists for this client */ tcp_server_send_bytes(client, x, argc, argv); - break; } } --- 450,453 ----