aboutsummaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Collapse)Author
2015-05-01'#include <ws2tcpip.h>' for 'socklen_t'IOhannes m zmölnig
as found in other externals in this directory that use socklen_t svn path=/trunk/externals/mrpeach/; revision=17464
2014-11-10Changed t_int to int, added some verbosity.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17374
2014-10-15Default format is actually float.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17360
2014-02-26[udpsndrcv] can specify its own sending port and outputs bytes received on ↵Martin Peach
that port. Thanks to Dennis Engdahl. svn path=/trunk/externals/mrpeach/; revision=17273
2014-02-18More crash prevention in 64-bitMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17267
2014-02-13Possibly fixed some crashing when freeing resources, by checking for NULL ↵Martin Peach
before freeing. Added a verbosity message to control printout to console. Default is 0, or no output except errors. Fixed a bug with the [client n( message and non-existent client number. --This line, and those below, will be ignored- M tcpserver.c M tcpserver-help.pd svn path=/trunk/externals/mrpeach/; revision=17265
2014-02-12Make sure ntohl accesses 32 bits even on 64-bit systems.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17264
2013-05-20Added a port method to change the listening port.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17143
2013-05-19Check for space before accepting incoming connection, increased MAX_CONNECT.Martin Peach
Also changed print format for size_t from %d to %lu And commented out some unused variables. svn path=/trunk/externals/mrpeach/; revision=17142
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17048
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17047
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17046
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17045
2012-04-13added 5th outlet to [tcpsocketserver]Roman Haefeli
svn path=/trunk/externals/mrpeach/; revision=16122
2012-03-21Added [import moocow] so [any2string] and [string2any] will work. Removed ↵Martin Peach
[declare] objects that don't work. svn path=/trunk/externals/mrpeach/; revision=16088
2012-03-21fixed [declare] to comply with Pd-extended layoutRoman Haefeli
svn path=/trunk/externals/mrpeach/; revision=16087
2011-11-08Fixed an off-by-one error in thread buffer indexing.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=15714
2011-11-04Add a flag to sendthreadparams to indicate if the thread is in use or not. ↵Martin Peach
Don't reuse the buffer if it's still active. svn path=/trunk/externals/mrpeach/; revision=15704
2011-11-03To prevent overwriting the send buffer with multiple simultaneous messages, ↵Martin Peach
each sender thread now gets its own buffer. (Usually a multiple message results in two TCP packets, with the first message in the first packet and the rest in the second.) The buffers are preallocated and assigned to threads in round-robin fashion. There are MAX_TCPCLIENT_THREADS (32) buffers. Wait for all threads to terminate before disconnecting a socket. svn path=/trunk/externals/mrpeach/; revision=15700
2011-10-21added abstractions to the Makefile for inclusion in the libraryHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15639
2011-10-21updated udpreceive~ help with example from udpsend~ helpHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15638
2011-10-21ported to Library TemplateHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15637
2011-10-21use auto-macro _WIN32 instead of Pd-defined macro UNIX, this means the build ↵Hans-Christoph Steiner
system doesn't need to set any macros to work properly svn path=/trunk/externals/mrpeach/; revision=15636
2011-10-21A readme and license file.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=15635
2011-10-21A new meta fileMartin Peach
svn path=/trunk/externals/mrpeach/; revision=15634
2011-03-03added META subpatchJonathan Wilkes
svn path=/trunk/externals/mrpeach/; revision=14999
2011-03-02Made the input buffer unsigned so bytes > 127 will be interpreted as positive.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=14994
2011-02-21Accepts HTTP 1.0 as well as 1.1. Increased buffer for status lines to 4096.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=14937
2011-02-01those abstractions actually belong to the 'net' sectionRoman Haefeli
svn path=/trunk/externals/mrpeach/; revision=14850
2011-01-13Added a HEAD method.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=14737
2011-01-13Sometimes send returns 0 if the packet is queued, so we don't consider that ↵Martin Peach
to mean it's blocked. svn path=/trunk/externals/mrpeach/; revision=14736
2011-01-13Two externals to process HTTP/1.1 requests and responses in conjunction with ↵Martin Peach
net exernals like [tcpclient] or [slipenc]/[slipdec]. So far only GET requests work. svn path=/trunk/externals/mrpeach/; revision=14735
2010-11-28changed #ifdef forMartin Peach
#define snprintf sprintf_s to _MSC_VER so MinGW doesn't see it. svn path=/trunk/externals/mrpeach/; revision=14534
2010-11-22include ifaddrs.h for mac, for getifaddrs() and freeifaddrs()Martin Peach
svn path=/trunk/externals/mrpeach/; revision=14473
2010-11-03changed long to int in the tag struct, as longs are 8 bytes in 64-bit Martin Peach
architectures. svn path=/trunk/externals/mrpeach/; revision=14261
2010-10-29Cleaned up unused code.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=14247
2010-10-28cleaned up whitespaceMartin Peach
svn path=/trunk/externals/mrpeach/; revision=14246
2010-10-28Added multicast supportMartin Peach
svn path=/trunk/externals/mrpeach/; revision=14245
2010-10-15Added a method for a port message so port number can be changed on the fly. ↵Martin Peach
Updated the help patch. svn path=/trunk/externals/mrpeach/; revision=14233
2010-08-11added parentheses around ored constants to stop warning in _WIN32 versionMartin Peach
svn path=/trunk/externals/mrpeach/; revision=13786
2010-08-06Don't allow setting multicast ttl or loopback if not connected.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13765
2010-08-05Added #include <errno.h> for the new sock_error functionMartin Peach
svn path=/trunk/externals/mrpeach/; revision=13758
2010-08-05_WIN32 multicast works (needed to bind socket before joining multicast).Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13757
2010-08-05Fixed bugs in _WIN32 socket error reporting.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13755
2010-08-04Removed remaining calls to things in s_stuff.h (sys_closesocket)Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13745
2010-08-04Can set multicast interface in MacOSX, added a udpsend_sock_err function to ↵Martin Peach
print system errors in the pd console instead of stderr. svn path=/trunk/externals/mrpeach/; revision=13744
2010-08-03Can set_multicast_interface on _WIN32 now.Martin Peach
Remembered to set size of parameter before calling getsockopt. svn path=/trunk/externals/mrpeach/; revision=13741
2010-08-03include <ws2tcpip.h> for multicast sockopts on _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13740
2010-08-02Methods for multicast ttl and loopback only make sense on udpsend... updated ↵Martin Peach
help patches. svn path=/trunk/externals/mrpeach/; revision=13738
2010-08-02Added method to set multicast TTL, updated help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13737