aboutsummaryrefslogtreecommitdiff
path: root/net/tcpserver.c
AgeCommit message (Collapse)Author
2009-03-02Fixed some warnings about signed/unsigned variables.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10829
2009-03-02Fixed a bug that prevented the send routine from leaving the loop when no ↵Martin Peach
more data can be sent. Now it won't hang if you try sending to a recently disconnected client, honest! svn path=/trunk/externals/mrpeach/; revision=10828
2009-03-02tcpserver_send_buf: send only one byte at a time into the buffer to avoid ↵Martin Peach
buffer overflow. This should not slow the whole thing down too much since we're already passing things one byte at a time. svn path=/trunk/externals/mrpeach/; revision=10827
2009-03-01Added a [clientbuf( message to set the send buffer size for that client. ↵Martin Peach
Also the [client( message will output the current buffer size as well as the socket and ip for that client. Help patch updated. svn path=/trunk/externals/mrpeach/; revision=10824
2009-02-24Adds a status outlet which currently gives info about connected clients and ↵Martin Peach
the amount of sent data. svn path=/trunk/externals/mrpeach/; revision=10812
2009-02-23Fixed select call so it works properlyMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10810
2009-02-22include errno.h for linuxMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10806
2009-02-22Removed some commented-out stuffMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10805
2009-02-22Checks to see if a socket can be written to before sending. If not, prints a ↵Martin Peach
message to the pd window and doesn't send the data. svn path=/trunk/externals/mrpeach/; revision=10804
2008-05-07removed svn:executable-flagIOhannes m zmölnig
svn path=/trunk/externals/mrpeach/; revision=9769
2008-03-27No limit on sendable file size.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=9628
2008-03-20Added dump message for hexdump of received characters to main window.Martin Peach
Added #include <sys.types.h> for u_long define. svn path=/trunk/externals/mrpeach/; revision=9611
2007-08-06Closing socket should actually work now. Before it was just removing it from ↵Martin Peach
the list. svn path=/trunk/externals/mrpeach/; revision=8439
2007-08-02Added disconnectclient and disconnectsocket methods so server can close ↵Martin Peach
connections too. svn path=/trunk/externals/mrpeach/; revision=8347
2007-07-23Removed unused static binbuf that caused occasional crashes when ↵Martin Peach
reinstantiating the object. Thanks IOhannes for pointing it out! svn path=/trunk/externals/mrpeach/; revision=8211
2007-06-20Implemented IOhannes' list sendMartin Peach
svn path=/trunk/externals/mrpeach/; revision=7789
2006-12-12removed the "break;" statement in the broadcast() code to enable broadcastingIOhannes m zmölnig
to all connected clients (and not jsut the first one) svn path=/trunk/externals/mrpeach/; revision=6815
2006-11-28changed MAX_PATH to FILENAME_MAXMartin Peach
svn path=/trunk/externals/mrpeach/; revision=6491
2006-11-07added file sendMartin Peach
svn path=/trunk/externals/mrpeach/; revision=6223
2006-08-24Renamed files without x_net_ prefix.Martin Peach
Removed extra copies of tcpserver and tcpclient svn path=/trunk/externals/mrpeach/; revision=5726