aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12-27include math.h for log()Martin Peach
svn path=/trunk/externals/mrpeach/; revision=12845
2009-12-13fixed two 64-bit bugs because int!=longN.N.
svn path=/trunk/externals/mrpeach/; revision=12834
2009-12-13resolved 1 slight 64-bit bug because int!=long and 5 spurious warnings ↵N.N.
because long!=size_t svn path=/trunk/externals/mrpeach/; revision=12833
2009-12-13added by request from two independent people at onceN.N.
svn path=/trunk/externals/mrpeach/; revision=12832
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
2009-11-12Using pthreads to send each message to each client in its own thread. This ↵Martin Peach
should eliminate hangups when clients disappear halfway through, and increase responsiveness of Pd with [tcpserver]. Messages are sent as one unit instead of byte-by-byte. Select() is no longer used to check for available space in the buffer. svn path=/trunk/externals/mrpeach/; revision=12760
2009-07-23Outputs a bang via bang outlet when done, same as [textfile]. No more bangs ↵Martin Peach
through bin outlet. svn path=/trunk/externals/mrpeach/; revision=11879
2009-07-09Changed midifile playback to print status instead of playing it.Martin Peach
(thanks Alex x37v.alex@gmail.com) svn path=/trunk/externals/mrpeach/; revision=11853
2009-06-10Blob padding does not add zero if already modulo 4 length.Martin Peach
Blob length one also works. Thanks Wolfgang Jäger for debugs... svn path=/trunk/externals/mrpeach/; revision=11735
2009-06-08Added blob typeMartin Peach
svn path=/trunk/externals/mrpeach/; revision=11720
2009-06-08Added a blob type, changed some post()s to error()s.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=11719
2009-05-10Fixed a bug where a type-forced message with a non-data type following a ↵Martin Peach
type with an argument would cause an error. svn path=/trunk/externals/mrpeach/; revision=11314
2009-04-24removed unnecessary call to filelength.Martin Peach
added name of function in post()s to console. svn path=/trunk/externals/mrpeach/; revision=11107
2009-04-10Buffer must be less than or equal to argument,Martin Peach
not greater than. svn path=/trunk/externals/mrpeach/; revision=11003
2009-04-08This is an object that is supposed to output the absolute path to the Pd ↵Martin Peach
external or abstraction named in its argument or a message. Currently it works on linux but, mysteriously, crashes Pd on WinXp. svn path=/trunk/externals/mrpeach/; revision=10989
2009-04-08Oops, I had forgotten to add the default timeout of 1000us.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10988
2009-04-08Added timeout message to set send timeout in microseconds, defaults to 1000.Martin Peach
Changed help patch to match. svn path=/trunk/externals/mrpeach/; revision=10987
2009-04-08Added [timeout( message to set microsecond timeout for send. This gives time ↵Martin Peach
for unusually small buffers to clear. Set default timeout to 1000us. Also prints a message if the whole send didn't complete. Updated help patch to match. svn path=/trunk/externals/mrpeach/; revision=10986
2009-03-09The 'sent' message now contains client number, bytes sent, socket number. ↵Martin Peach
Empty 'send' message triggers list of client messages on right outlet. Empty socket number message causes a client message on right outlet. Help patch updated. svn path=/trunk/externals/mrpeach/; revision=10852
2009-03-04Changed send routine to send one byte at a time and output number of bytes ↵Martin Peach
sent, so it won't block if the other end disappears. Also settable buffer size. Help path updated. svn path=/trunk/externals/mrpeach/; revision=10835
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-25added workaround for missing random() and srandom() on WindowsHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=10815
2009-02-24Updated help files to reflect new [tcpserver], cleaned up a bit more.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10813
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
2009-02-03These were updated by romanMartin Peach
roman.haefeli@gmail.com [tcpsocket.OSC] - fixed limitation of maximum size for incoming list for serialization. handles now arbitrary list lengths correctly. [tcpsocket.FUDI] - fixed limitation of maximum size for incoming list for serialization. handles now arbitrary list lengths correctly. - fixed delimiting problem: semicolons prepended by backslashes are correctly omitted for delimiter evaluation. svn path=/trunk/externals/mrpeach/; revision=10727
2009-01-28Updated to reflect changed object.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10673
2009-01-28Updated to reflect changed object.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10672
2009-01-28Added bang method which does nothing.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10671
2009-01-28Added "delimiter" message to enable output from offset to first delimiter.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10670
2009-01-28Added an outlet for the array size. The outlet is updated with each incoming ↵Martin Peach
list or float. This makes it easier to append to existing arrays. svn path=/trunk/externals/mrpeach/; revision=10669
2009-01-22flist2tab loads a list of floats into a table, resizing the table if it is ↵Martin Peach
too small. svn path=/trunk/externals/mrpeach/; revision=10598
2009-01-22tab2flist extracts a list of floats from a table at a given offset. The ↵Martin Peach
length of the list can be set via the second inlet. Points outside the table are returned as zeros. svn path=/trunk/externals/mrpeach/; revision=10597
2009-01-13This is Roman Haefeli's tcpsocketserver for FUDI and OSC.Martin Peach
Untested! svn path=/trunk/externals/mrpeach/; revision=10527
2008-11-21select garray_getfloatwords() or garray_getfloatarray() depending on pd version.Martin Peach
(garray_getfloatwords was not implemented until pd 0.41) svn path=/trunk/externals/mrpeach/; revision=10375
2008-11-21An external to find a float or sequence of floats in a table/array.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=10374
2008-11-05Updated to add port number to list on right outletMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10365
2008-11-05Added port number output to ip list on right outlet as suggested by zmoelnigMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10364
2008-11-05Updated to add port number on ip (right) outletMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10363
2008-11-05Added port number to ip outlet as suggested by zmoelnigMartin Peach
svn path=/trunk/externals/mrpeach/; revision=10362