aboutsummaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Collapse)Author
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
2010-08-02set_multicast_interface doesn't work in _WIN32 yet so I just post a message.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13736
2010-07-30Added method to select interface when multicasting, updated help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13734
2010-07-18Fix ip_mreq stuff for MACOSX and _WIN32 (we hope...)Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13723
2010-07-16MacOSX wants a struct_mreq instead of a struct_mreqnMartin Peach
svn path=/trunk/externals/mrpeach/; revision=13720
2010-07-13Added messages to set multicast ttl and loopback, updated the help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13711
2010-07-13Added support for multicasting. Added a status message to output total ↵Martin Peach
received bytes and multicast status on right outlet. Added received byte count on right outlet. Help patch updated. svn path=/trunk/externals/mrpeach/; revision=13708
2010-07-07converted error() calls to pd_error() calls where appropriate, ie. where a ↵Hans-Christoph Steiner
findable error is desirable svn path=/trunk/externals/mrpeach/; revision=13694
2010-05-08Incorporated ico's patch for threaded broadcasting.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13510
2010-05-06Added tcpserver_broadcast_bytes() to speed up broadcast by resending the ↵Martin Peach
buffer if < 65536 bytes svn path=/trunk/externals/mrpeach/; revision=13498
2010-05-06Make sure client is not already connected before spawning a thread to ↵Martin Peach
connect it. Based on ico's patch svn path=/trunk/externals/mrpeach/; revision=13497
2010-05-05SO_REUSEADDR fixed cut-and-paste error for _WIN32 version.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13494
2010-05-04SO_REUSEADDR was not being set on linux.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13493
2010-05-01Fixed call to setsockopt( SO_REUSEADDR ), which was previously set false and ↵Martin Peach
ifdeffed for IRIX... svn path=/trunk/externals/mrpeach/; revision=13486
2010-03-29oops, undoing last commit; sorryIOhannes m zmölnig
svn path=/trunk/externals/mrpeach/; revision=13306
2010-03-29replaced &s_... by gensym("...")IOhannes m zmölnig
svn path=/trunk/externals/mrpeach/; revision=13305
2010-03-27Added output of IP address of disconnecting client at suggestion of Ivica ↵Martin Peach
Ico Bukvic ico@vt.edu. Removed send timeout message since each send is in its own thread and won't cause trouble if it hangs... svn path=/trunk/externals/mrpeach/; revision=13292
2010-03-26Sends all bytes in one block in a single thread, blocks further sends if one ↵Martin Peach
doesn't work until [unblock( message received. Removed [receive(, [recv(, [timeout( message methods as they are not relevant. svn path=/trunk/externals/mrpeach/; revision=13290
2010-03-24Added a flag that is set if sender thread can't create. This stops any ↵Martin Peach
further sends until an [unblock( message is sent to tcpserver. svn path=/trunk/externals/mrpeach/; revision=13253
2010-03-23Fixed NULL-pointer access bug in tcpserver_free() that caused trouble when ↵Martin Peach
closing a [tcpserver]. Free send parameters if thread fails to create. [tcpclient] posts "tcpclient_free" at start and end of tcpclient_free if verbosity==1. svn path=/trunk/externals/mrpeach/; revision=13243
2010-03-22Changed valid-stream output to be a signal output. Moved all post()s out of ↵Martin Peach
the perform routine. Updated help patch and version. svn path=/trunk/externals/mrpeach/; revision=13239
2010-03-22check for NULL-pointer in destructorIOhannes m zmölnig
svn path=/trunk/externals/mrpeach/; revision=13238
2010-03-16Output valid state only when it changes.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13216
2010-03-16Added an outlet to udpreceive~ to indicate valid audio. Ouput address and ↵Martin Peach
port only if changed. Updated version and help patch. svn path=/trunk/externals/mrpeach/; revision=13215
2010-03-11Updfated version number and help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13205
2010-03-11Added a "TAG!" identifier field to the tag so it can be verified as a tag. ↵Martin Peach
This should help prevent crashes in case of dropped packets. svn path=/trunk/externals/mrpeach/; revision=13204