aboutsummaryrefslogtreecommitdiff
path: root/net/tcpserver.c
AgeCommit message (Expand)Author
2015-05-01'#include <ws2tcpip.h>' for 'socklen_t'IOhannes m zmölnig
2014-11-10Changed t_int to int, added some verbosity.Martin Peach
2014-02-13Possibly fixed some crashing when freeing resources, by checking for NULL bef...Martin Peach
2013-05-20Added a port method to change the listening port.Martin Peach
2013-05-19Check for space before accepting incoming connection, increased MAX_CONNECT.Martin Peach
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
2011-10-21use auto-macro _WIN32 instead of Pd-defined macro UNIX, this means the build ...Hans-Christoph Steiner
2010-05-08Incorporated ico's patch for threaded broadcasting.Martin Peach
2010-05-06Added tcpserver_broadcast_bytes() to speed up broadcast by resending the buff...Martin Peach
2010-05-05SO_REUSEADDR fixed cut-and-paste error for _WIN32 version.Martin Peach
2010-05-04SO_REUSEADDR was not being set on linux.Martin Peach
2010-05-01Fixed call to setsockopt( SO_REUSEADDR ), which was previously set false and ...Martin Peach
2010-03-29oops, undoing last commit; sorryIOhannes m zmölnig
2010-03-29replaced &s_... by gensym("...")IOhannes m zmölnig
2010-03-27Added output of IP address of disconnecting client at suggestion of Ivica Ico...Martin Peach
2010-03-24Added a flag that is set if sender thread can't create. This stops any furthe...Martin Peach
2010-03-23Fixed NULL-pointer access bug in tcpserver_free() that caused trouble when cl...Martin Peach
2010-03-22check for NULL-pointer in destructorIOhannes m zmölnig
2010-03-09Moved client-specific parameters into a single t_tcpserver_socketreceiver str...Martin Peach
2010-03-09fixing bug #2966186IOhannes m zmölnig
2010-01-04Had the wrong #include for ioctl...Martin Peach
2010-01-02Changed MSW to _WIN32. Added tcpserver_send_buffer_avaliable_for_client()Martin Peach
2009-11-29Sender threads are now created in the detached state so their resources will ...Martin Peach
2009-11-28Removed duplicate send, added threaded send for files, and also send whenever...Martin Peach
2009-11-12Using pthreads to send each message to each client in its own thread. This sh...Martin Peach
2009-04-08Added [timeout( message to set microsecond timeout for send. This gives time ...Martin Peach
2009-03-09The 'sent' message now contains client number, bytes sent, socket number. Emp...Martin Peach
2009-03-02Fixed some warnings about signed/unsigned variables.Martin Peach
2009-03-02Fixed a bug that prevented the send routine from leaving the loop when no mor...Martin Peach
2009-03-02tcpserver_send_buf: send only one byte at a time into the buffer to avoid buf...Martin Peach
2009-03-01Added a [clientbuf( message to set the send buffer size for that client. Also...Martin Peach
2009-02-24Adds a status outlet which currently gives info about connected clients and t...Martin Peach
2009-02-23Fixed select call so it works properlyMartin Peach
2009-02-22include errno.h for linuxMartin Peach
2009-02-22Removed some commented-out stuffMartin Peach
2009-02-22Checks to see if a socket can be written to before sending. If not, prints a ...Martin Peach
2008-05-07removed svn:executable-flagIOhannes m zmölnig
2008-03-27No limit on sendable file size.Martin Peach
2008-03-20Added dump message for hexdump of received characters to main window.Martin Peach
2007-08-06Closing socket should actually work now. Before it was just removing it from ...Martin Peach
2007-08-02Added disconnectclient and disconnectsocket methods so server can close conne...Martin Peach
2007-07-23Removed unused static binbuf that caused occasional crashes when reinstantiat...Martin Peach
2007-06-20Implemented IOhannes' list sendMartin Peach
2006-12-12removed the "break;" statement in the broadcast() code to enable broadcastingIOhannes m zmölnig
2006-11-28changed MAX_PATH to FILENAME_MAXMartin Peach
2006-11-07added file sendMartin Peach
2006-08-24Renamed files without x_net_ prefix.Martin Peach