aboutsummaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Collapse)Author
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
2010-03-09Moved client-specific parameters into a single t_tcpserver_socketreceiver ↵Martin Peach
struct. svn path=/trunk/externals/mrpeach/; revision=13199
2010-03-09fixing bug #2966186IOhannes m zmölnig
svn path=/trunk/externals/mrpeach/; revision=13197
2010-03-02Added a verbosity method to stop [tcpclient] printing in the main window ↵Martin Peach
every time it connects/disconnects. Updated the help patch to match. svn path=/trunk/externals/mrpeach/; revision=13193
2010-02-24Corrected some error messages, check for EINVAL after recvfrom(), to try to ↵Martin Peach
find out why it happens... svn path=/trunk/externals/mrpeach/; revision=13189
2010-01-20Added SO_BROADCAST so you can actually broadcast with a .255 address...Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13057
2010-01-18use unix line endingsMartin Peach
svn path=/trunk/externals/mrpeach/; revision=13038
2010-01-18Make the connection thread detached and don't refer to its struct directly, ↵Martin Peach
check for thread creation errors. svn path=/trunk/externals/mrpeach/; revision=13037
2010-01-18Use NULL instead of 0 to reset thread pointer so maybe now MinGW can compile ↵Martin Peach
it...removed unused symbols svn path=/trunk/externals/mrpeach/; revision=13031
2010-01-15Added include for ws2tcpip.h for socklen_t for _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=13013
2010-01-14Don't need float_cast.h anymore, using the flint union with ntohl/htonl instead.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12999
2010-01-14Always send in network byte order for all architectures. UDP receiving ↵Martin Peach
socket doesn't need to be non-blocking (I think...). Cleaned up help patch. svn path=/trunk/externals/mrpeach/; revision=12998
2010-01-14Changed int optLen to socklen_t to avoid signedness warningMartin Peach
svn path=/trunk/externals/mrpeach/; revision=12997
2010-01-13Fixed header files for _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12985
2010-01-12Block size is settable by creation argument. Buffer size message is ↵Martin Peach
specified in frames. Info message gives some more info. Channels transmitted can be set to zero. Cleaned up help patch. svn path=/trunk/externals/mrpeach/; revision=12968
2010-01-11Added "unix" to the test for "UNIX".Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12955
2010-01-11help patch for udpsend~ and udpreceive~Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12954
2010-01-11Versions of netsend~ for udp.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12953
2010-01-04Had the wrong #include for ioctl...Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12882
2010-01-02Changed MSW to _WIN32. Added tcpserver_send_buffer_avaliable_for_client()Martin Peach
using SIOCOUTQ ioctl in linux to see if send buffer has any room left. Apparently no equivalent exists for BSD or Windows. svn path=/trunk/externals/mrpeach/; revision=12874
2010-01-02Changed MSW to _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12867
2010-01-02Changed MSW to _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12866
2010-01-02Changed MSW to _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12865
2010-01-02Changed MSW to _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12864
2010-01-02Changed MSW to _WIN32Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12863
2009-11-29Sender threads are now created in the detached state so their resources will ↵Martin Peach
be freed when the threads complete. This appears to stop the accumulation of handles on WinXP at least. svn path=/trunk/externals/mrpeach/; revision=12814
2009-11-28Removed duplicate send, added threaded send for files, and also send ↵Martin Peach
whenever buffer is full (65536 bytes) for incoming lists (although [tcpserver] is unlikely to be fed lists that long) svn path=/trunk/externals/mrpeach/; revision=12813