aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 1e2bdabb793509344c1f3e73fe3c997aaca85ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
2015-09-01 12:00  zmoelnig

	* iemnet-v0.2

	  got rid of threaded receiver
	   - simplifies code
	   - fixes a couple of stability bugs
	   - compiles again on W32
	  one-true-brace-style
	  reproducible build

2010-10-11 16:04  zmoelnig

	* tcpreceive.c, udpreceive.c: use SO_REUSEPORT (if available during
	  compile-time)

2010-10-11 15:34  zmoelnig

	* .: svn:ignore all *.pd_linux

2010-10-11 12:15  zmoelnig

	* AUTHORS: authors
	  
	  illiterati

2010-10-11 12:13  zmoelnig

	* ChangeLog, NEWS: ChangeLog and NEWS files
	  
	  with bugs bunny and bill clinton

2010-10-11 12:04  zmoelnig

	* udpserver.c: at least accept one(1) client

2010-10-11 12:03  zmoelnig

	* iemnet.h: these debug things

2010-10-08 22:11  rdz

	* tcpserver-help.pd: added 'port' for outlet #4

2010-10-08 22:08  rdz

	* udpserver-help.pd: added help for [udpserver]

2010-10-08 21:57  rdz

	* tcpclient-help.pd, tcpreceive-help.pd, tcpsend-help.pd,
	  tcpserver-help.pd, udpreceive-help.pd, udpsend-help.pd: added a
	  'check also:' section where applicable

2010-10-08 21:43  rdz

	* udpclient-help.pd: added help for [udpclient]

2010-10-08 20:53  rdz

	* tcpserver-help.pd: corrected NOTE: there is no outlet 6. made
	  outlet counting consistent (start at 1).

2010-10-06 20:06  zmoelnig

	* tcpclient-help.pd, tcpreceive-help.pd, tcpserver-help.pd,
	  udpreceive-help.pd, udpsend-help.pd: more iemnet specifics

2010-10-05 22:26  rdz

	* iemnet-meta.pd: made iemnet-meta.pd comply with the
	  libname-meta.pd format

2010-10-02 20:39  rdz

	* tcpserver-help.pd: added description to the 'bufsize' status
	  message

2010-10-02 20:34  rdz

	* tcpclient-help.pd, tcpreceive-help.pd, tcpsend-help.pd,
	  tcpserver-help.pd: updated help of [tcpsend]/[tcpreceive] to
	  reflect their current behaviour

2010-10-02 19:46  rdz

	* tcpclient-help.pd: updated help to reflect current behaviour of
	  [tcpclient]

2010-10-02 19:15  rdz

	* tcpserver-help.pd: updated help to reflect [tcpserver]'s current
	  behaviour

2010-09-20 15:06  zmoelnig

	* iemnet.h: global debuglevel

2010-09-20 14:35  zmoelnig

	* iemnet_receiver.c: more debugging in the tick

2010-09-20 13:31  zmoelnig

	* Makefile: added DEBUG_CFLAGS

2010-09-20 13:19  zmoelnig

	* iemnet.c: less verbose when changing debuglevel

2010-09-20 13:14  zmoelnig

	* iemnet.c, iemnet.h, iemnet_data.c, iemnet_receiver.c,
	  iemnet_sender.c, tcpclient.c, tcpreceive.c, tcpsend.c,
	  tcpserver.c, udpclient.c, udpreceive.c, udpsend.c, udpserver.c:
	  debugging levels

2010-09-15 12:37  mescalinum

	* Makefile: remove -mcpu/-mtune flags as it breaks x64 build. we
	  should eventually figure a way of determining automatically the
	  CPU, but 'uname -m' doesn't tell the truth

2010-09-14 08:53  zmoelnig

	* iemnet_receiver.c: receive in nonblocking mode

2010-09-14 08:39  zmoelnig

	* iemnet_receiver.c: on the way to thread safety...(?)
	  
	  a number of new mutexes to protect what is there to protect.
	  avoid deadlocks when using the big pd-lock

2010-09-13 13:48  zmoelnig

	* udpserver.c: more DEBUG; alternative algorithm to add clients
	  
	  with a connection-less protocol it's a bit hard to know which
	  clients are
	  connected to a server...

2010-09-13 13:43  zmoelnig

	* iemnet_receiver.c, udpreceive.c: nada: whitespace

2010-09-13 13:38  zmoelnig

	* iemnet_receiver.c: removed the "return" at the beginning of
	  iemnet__receiver_destroy()
	  
	  it looks like i put it there for debugging something; but i
	  cannot remember now
	  exactly...

2010-09-09 13:53  zmoelnig

	* iemnet_receiver.c: more debug output

2010-09-09 13:52  zmoelnig

	* udpclient.c: ...

2010-08-27 09:15  zmoelnig

	* tcpserver.c: get rid o fwarning in sprintf()

2010-08-23 14:35  zmoelnig

	* iemnet_receiver.c: on read termination read the status variables
	  in a protected area

2010-08-23 12:46  zmoelnig

	* iemnet.c, iemnet_data.c, iemnet_receiver.c, iemnet_sender.c,
	  udpserver.c: use malloc() rather than getbytes(); use
	  pthread_exit();

2010-08-22 11:57  zmoelnig

	* udpserver.c: more support for udpserver

2010-08-20 17:19  zmoelnig

	* udpsend.c: fixed reentrancy issue

2010-08-20 16:54  zmoelnig

	* iemnet_data.c, iemnet_sender.c: fixed bugs in multithreading code

2010-08-20 16:20  zmoelnig

	* iemnet.h: in DEBUG mode, define IEMNET_HAVE_DEBUG

2010-08-20 14:32  zmoelnig

	* iemnet_data.c: reindentated; add some comments

2010-08-20 14:12  zmoelnig

	* iemnet_sender.c: more DEBUGs; clear memory before freeing it

2010-08-20 14:11  zmoelnig

	* iemnet_data.c: added more DEBUGs

2010-08-20 14:09  zmoelnig

	* udpreceive.c: output sender address

2010-08-09 09:22  zmoelnig

	* iemnet_data.c: allow resizing of NULL-floatlists
	  
	  trying to resize a NULL-floatlist, will create a new one with the
	  required size

2010-07-14 17:52  zmoelnig

	* udpsend.c: fixed crasher bug when printing "[udpsend] not
	  connected"

2010-04-07 14:45  zmoelnig

	* iemnet.c, iemnet.h, tcpclient.c, tcpreceive.c, tcpserver.c:
	  iemnet__streamout() takes an argument telling us whether to
	  serialize or not
	  (non-serialization might be useful for proxies)

2010-04-07 14:29  zmoelnig

	* udpserver.c: first working prototype - still loads of problems
	  
	  the socket outlet doesn't make any sense (remove it?)
	  disconnecting kills the receiver thread!

2010-04-07 14:27  zmoelnig

	* iemnet.h, iemnet_receiver.c, tcpclient.c, tcpreceive.c,
	  tcpserver.c, udpclient.c, udpreceive.c: new receiver callback:
	  chunk2list has to be handled by client

2010-04-07 14:24  zmoelnig

	* iemnet_sender.c: sender now optionally uses sendto()
	  
	  if the chunk has an address/port specified, sendto() is used;
	  else the default send() on the socket is used

2010-04-07 14:22  zmoelnig

	* iemnet_data.h: nice documentation (this file is not so private
	  any more)

2010-04-01 12:22  zmoelnig

	* Makefile: don't need verbose auto-vectorizer

2010-04-01 12:21  zmoelnig

	* tcpserver.c: floatlist should be handled in the object

2010-04-01 12:21  zmoelnig

	* iemnet_receiver.c: cleanup queue in destructor

2010-04-01 12:18  zmoelnig

	* iemnet_data.c: check whether queue is !NULL before
	  pushing/popping

2010-04-01 11:20  zmoelnig

	* tcpserver.c: call sender_destroy/receiver_destroy before cleaning
	  up socketreceiver

2010-04-01 10:20  zmoelnig

	* iemnet.h: use <sys/types.h> directly rather than <stdlib.h> for
	  getting needed types

2010-04-01 09:51  zmoelnig

	* iemnet.h: include stdlib.h
	  
	  on OSX (10.4) you cannot use INADDR_ANY without types, which are
	  not provided by
	  the header that defines INADDR_ANY...

2010-04-01 09:33  zmoelnig

	* tests/sequence/01_server.pd: display the queue status

2010-04-01 09:24  zmoelnig

	* tcpsend.c: fixed objName for tcpsend

2010-04-01 09:14  zmoelnig

	* build/w32-vs2003/iemnet.vcproj, iemnet.c: updated M$VC project

2010-04-01 09:03  zmoelnig

	* udpserver.c: added note about udpserver not being useable yet

2010-04-01 09:01  zmoelnig

	* udpserver.c: use error() for errors

2010-04-01 07:22  zmoelnig

	* Makefile, udpserver.c: non-functional crashy copy of tcpserver
	  for udp

2010-04-01 07:21  zmoelnig

	* udpreceive.c: status outlet and forgotten struct member...

2010-04-01 07:21  zmoelnig

	* iemnet_sender.c: iemnet__sender_destroy() now also closes the
	  socket

2010-04-01 07:21  zmoelnig

	* udpclient.c: use error instead of post

2010-04-01 07:21  zmoelnig

	* iemnet.c, iemnet.h, tcpclient.c, tcpreceive.c, tcpsend.c,
	  tcpserver.c, udpclient.c, udpreceive.c, udpsend.c: exporting
	  symbols; using objName

2010-04-01 07:20  zmoelnig

	* iemnet.c, iemnet.h: convenience function for outputting the
	  socket

2010-04-01 07:20  zmoelnig

	* iemnet.c, iemnet.h: convenience function for outputting the
	  number of connections

2010-04-01 07:20  zmoelnig

	* tcpreceive-help.pd, tcpreceive.c: tcpclient fixes and features
	  
	  fixed the callback (API changed but due to cast this has gone
	  unnoticed)
	  featured settable ports (and now creation failure is port is
	  taken)

2010-04-01 07:20  zmoelnig

	* tcpclient.c: made connection thread safe
	  
	  the connection thread modifies the object's state (and calls
	  clock_delay())
	  since this is not thread safe, it is now protected by sys_lock()
	  NOTE1: i remember someone saying that clock_delay() is thread
	  safe
	  NOTE2: this might still crash if the object is deleted before
	  while the thread is executing

2010-04-01 07:20  zmoelnig

	* tcpserver.c: removed duplicate inclusion
	  
	  <arpa/inet.h> is already included in iemnet.h

2010-03-31 13:44  zmoelnig

	* tests, tests/sequence, tests/sequence/01_client.pd,
	  tests/sequence/01_server.pd: simple test, whether sequences
	  qppear in the right order

2010-03-31 09:21  zmoelnig

	* tcpserver.c: made "target" persistent, even if clients disconnect
	  added "targetsocket" to specify the target via socket

2010-03-31 08:58  zmoelnig

	* iemnet.c, iemnet.h, tcpclient.c, tcpreceive.c, tcpserver.c:
	  output the data of stream-based objects in a serialized form

2010-03-31 08:51  zmoelnig

	* FEATURES.txt, README.txt: features sheet

2010-03-31 08:04  zmoelnig

	* tcpserver.c: query the server port
	  
	  especially useful when autoassigning ports (port=0)

2010-03-30 12:45  zmoelnig

	* tcpserver.c: tcpserver now does not fail to create if port is
	  already in use
	  
	  with the "port" message, the listening port can be changed at
	  runtime
	  (LATER we also want to query the port...)

2010-03-30 11:51  zmoelnig

	* tcpclient.c: avoid double registration of tcpclient

2010-03-30 10:54  zmoelnig

	* build/w32-vs2003/iemnet.vcproj: updated M$VC project

2010-03-30 10:52  zmoelnig

	* iemnet.h, tcpserver.c: added "target" method to tcpserver, to
	  specify how to send ordinary lists
	  
	  target 0: broadcast
	  target >0: send to specified client
	  target <0: send not to specified client (but all others)

2010-03-30 09:46  zmoelnig

	* iemnet_data.c, iemnet_data.h, iemnet_receiver.c, iemnet_sender.c,
	  tcpclient.c, tcpserver.c: query queue sizes
	  
	  with [tcpclient] use [bang(
	  with [tcpserver] use [client <x>(

2010-03-30 09:06  zmoelnig

	* Makefile, iemnet.h, iemnet_data.c, iemnet_data.h: inline code
	  documentation

2010-03-30 07:36  zmoelnig

	* Makefile, iemnet.c, iemnet.h, iemnet_data.c, iemnet_data.h,
	  iemnet_receiver.c, iemnet_sender.c: split core library into
	  separate files

2010-03-29 17:32  zmoelnig

	* build/w32-vs2003/iemnet.vcproj, iemnet.h, tcpreceive.c: made it
	  compile on w32 again

2010-03-29 17:30  zmoelnig

	* tcpreceive.c, tcpsend.c, udpreceive.c, udpsend.c: replaced &s_...
	  by gensym("...")
	  
	  this time it's the right lib

2010-03-29 17:18  zmoelnig

	* tcpserver.c: disable DEBUG

2010-03-29 17:11  zmoelnig

	* tcpclient.c, tcpserver.c: output additional data just like with
	  mrpeach's objects

2010-03-29 16:15  zmoelnig

	* tcpclient.c: use error() rather than post() where appropriate

2010-03-29 16:13  zmoelnig

	* tcpclient.c: proper handling of remote disconnect

2010-03-29 14:10  zmoelnig

	* iemnet.c, tcpserver.c: provide feedback to Pd main-thread whether
	  sender-thread still exists

2010-03-29 13:37  zmoelnig

	* iemnet.c: sender/receiver dtors can now be called recursively
	  without double freeing
	  resources (hopefully)

2010-03-29 13:07  zmoelnig

	* iemnet.c, tcpclient.c, tcpserver.c: clean up more properly on
	  disconnect
	  
	  disconnecting has the awful tendency to trigger itself;
	  for now, this is handled in the calling object's code,
	  but later iemnet_(sender|receiver) should take care themselves

2010-03-29 13:04  zmoelnig

	* NOTES.txt: remind me of doing tests

2010-03-27 08:55  zmoelnig

	* iemnet.c: no need to lock the entire Pd-process

2010-03-26 14:36  zmoelnig

	* iemnet-meta.pd: iemnet-meta.pd is needed for "make dist"
	  
	  this should be properly documented within the Makefile...

2010-03-26 14:35  zmoelnig

	* Makefile: make cleaner

2010-03-26 14:35  zmoelnig

	* NOTES.txt, README.txt: more mission and scratchpad

2010-03-26 14:35  zmoelnig

	* iemnet.c: sys_lock() before calling clock_delay()
	  
	  LATER: think about using sys_trylock

2010-03-26 14:35  zmoelnig

	* tcpclient.c, udpclient.c: output server address

2010-03-26 14:34  zmoelnig

	* Makefile, udpclient.c: a simple udpclient
	  
	  bidirectional communication using UDP

2010-03-26 14:34  zmoelnig

	* tcpclient.c, tcpreceive.c, tcpsend.c, tcpserver.c, udpreceive.c,
	  udpsend.c: proper use of DEBUG
	  
	  use DEBUG() directly rather than "#ifdef DEBUG"

2010-03-26 14:34  zmoelnig

	* udpsend.c: whitespaces...

2010-03-26 14:33  zmoelnig

	* udpreceive~.c, udpsend~-help.pd, udpsend~.c, udpsend~.h: no more
	  audio-over-net objects
	  
	  use AOO (Audio Over OSC) or the like for such things...

2010-03-26 14:33  zmoelnig

	* Makefile, udpsend.c: udpsend

2010-03-26 14:33  zmoelnig

	* udpreceive.c: fix description: udpreceive is really a server

2010-03-26 14:32  zmoelnig

	* tcpserver.c: output the sending host

2010-03-26 14:32  zmoelnig

	* Makefile, udpreceive.c: udpreceive
	  
	  seems to work...

2010-03-26 14:32  zmoelnig

	* tcpserver.c: compatibility with mrpeach; convenience
	  
	  re-add all those stupid outlets.
	  use convenience functions to send data to these outlets

2010-03-26 14:32  zmoelnig

	* iemnet.c, iemnet.h: convenience functions
	  
	  these probably should go into a separate file

2010-03-26 14:31  zmoelnig

	* tcpsend.c: use DEBUG()

2010-03-26 14:31  zmoelnig

	* iemnet.c, iemnet.h, tcpclient.c, tcpserver.c: changed API of
	  read-callback
	  
	  the callback will provide the raw data chunk as well (easier to
	  add more data)

2010-03-25 11:36  zmoelnig

	* iemnet.c, iemnet.h: DEBUG mechanism

2010-03-25 11:35  zmoelnig

	* README.txt: more missions

2010-03-25 11:34  zmoelnig

	* README.txt: mission statement

2010-03-25 08:29  zmoelnig

	* Makefile: included tcp* objects in Makefile

2010-03-25 08:28  zmoelnig

	* iemnet.h: most of the tcp-objects seem to work now;
	  
	  performance increase as measured until now is great :-)

2010-03-25 08:28  zmoelnig

	* iemnet.c, tcpclient.c, tcpreceive.c, tcpsend.c, tcpserver.c: most
	  of the tcp-objects seem to work now;
	  
	  performance increase as measured until now is great :-)

2010-03-24 22:47  eighthave

	* Makefile: added include path for Pd-extended.app include folder
	  to include path, after the -I$(PD_PATH)/src/ so it'll only use
	  the headers inside the Pd-extended.app if the source is not
	  specified

2010-03-24 17:39  zmoelnig

	* iemnet.c, tcpclient.c: on M$VC we only build libraries (and the
	  autoregistration doesn't work)

2010-03-24 17:38  zmoelnig

	* build/w32-vs2003/iemnet.vcproj: removed the "shared.c"

2010-03-24 17:25  zmoelnig

	* iemnet.h, tcpserver.c: fixed M$VC preprocessor code

2010-03-24 17:20  zmoelnig

	* Makefile, iemnet.c, iemnet.h, shared.c, tcpclient.c, tcpserver.c:
	  automatic calling

2010-03-24 16:41  zmoelnig

	* shared.c: cleaned up

2010-03-24 16:40  zmoelnig

	* tcpclient.c: check for validity before disconnecting (and
	  invalidate pointers after)

2010-03-24 16:31  zmoelnig

	* shared.c: call shutdown before closesocket()

2010-03-24 15:58  zmoelnig

	* iemnet.c, iemnet.h, shared.c, tcpclient.c, tcpserver.c: made it
	  compile (and run) on w32

2010-03-24 15:57  zmoelnig

	* build, build/w32-vs2003, build/w32-vs2003/iemnet.sln,
	  build/w32-vs2003/iemnet.vcproj: w32 project

2010-03-24 15:24  zmoelnig

	* Makefile, shared.c, tcpclient.c, tcpserver.c: a first client

2010-03-24 12:09  zmoelnig

	* iemnet.h, shared.c, tcpserver.c: kind of works now: we can dump
	  about 500MB within 5secs into tcpserver on lo

2010-03-24 12:09  zmoelnig

	* Makefile: only build tcpserver for now

2010-03-23 19:26  zmoelnig

	* shared.c: clock-based interfacing with Pd's main thraed

2010-03-23 19:05  zmoelnig

	* iemnet.h, shared.c, tcpserver.c: hmm, less crashes; threads hang

2010-03-23 17:49  zmoelnig

	* Makefile, iemnet.h, shared.c, tcpserver.c: factored out code into
	  "shared";
	  it's still rather unstable...

2010-03-23 13:36  zmoelnig

	* tcpserver.c: cleaned up

2010-03-23 12:10  zmoelnig

	* Makefile: Makefile (taken from ext13)

2010-03-23 11:54  zmoelnig

	* .: forked mrpeach's "net"

2010-03-22 20:12  mrpeach

	* Changed valid-stream output to be a signal output. Moved all
	  post()s out of the perform routine. Updated help patch and
	  version.

2010-03-22 15:29  zmoelnig

	* check for NULL-pointer in destructor

2010-03-16 17:22  mrpeach

	* Output valid state only when it changes.

2010-03-16 16:42  mrpeach

	* Added an outlet to udpreceive~ to indicate valid audio. Ouput
	  address and port only if changed. Updated version and help patch.

2010-03-11 21:04  mrpeach

	* Updfated version number and help patch.

2010-03-11 19:28  mrpeach

	* Added a "TAG!" identifier field to the tag so it can be verified
	  as a tag. This should help prevent crashes in case of dropped
	  packets.

2010-03-09 17:31  mrpeach

	* Moved client-specific parameters into a single
	  t_tcpserver_socketreceiver struct.

2010-03-09 10:28  zmoelnig

	* fixing bug #2966186

2010-03-02 17:44  mrpeach

	* Added a verbosity method to stop [tcpclient] printing in the main
	  window every time it connects/disconnects.
	  Updated the help patch to match.

2010-02-24 18:37  mrpeach

	* Corrected some error messages, check for EINVAL after recvfrom(),
	  to try to find out why it happens...

2010-01-20 19:41  mrpeach

	* Added SO_BROADCAST so you can actually broadcast with a .255
	  address...

2010-01-18 17:41  mrpeach

	* use unix line endings

2010-01-18 17:25  mrpeach

	* Make the connection thread detached and don't refer to its struct
	  directly, check for thread
	  creation errors.

2010-01-18 04:31  mrpeach

	* Use NULL instead of 0 to reset thread pointer so maybe now MinGW
	  can compile it...removed unused symbols

2010-01-15 18:53  mrpeach

	* Added include for ws2tcpip.h for socklen_t for _WIN32

2010-01-14 20:26  mrpeach

	* Don't need float_cast.h anymore, using the flint union with
	  ntohl/htonl instead.

2010-01-14 20:24  mrpeach

	* Always send in network byte order for all architectures. UDP
	  receiving socket doesn't need to be
	  non-blocking (I think...). Cleaned up help patch.

2010-01-14 20:21  mrpeach

	* Changed int optLen to socklen_t to avoid signedness warning

2010-01-13 21:54  mrpeach

	* Fixed header files for _WIN32

2010-01-12 18:58  mrpeach

	* Block size is settable by creation argument. Buffer size message
	  is specified in frames. Info message gives some more info.
	  Channels
	  transmitted can be set to zero. Cleaned up help patch.

2010-01-11 16:56  mrpeach

	* Added "unix" to the test for "UNIX".

2010-01-11 14:27  mrpeach

	* help patch for udpsend~ and udpreceive~

2010-01-11 14:25  mrpeach

	* Versions of netsend~ for udp.

2010-01-04 16:49  mrpeach

	* Had the wrong #include for ioctl...

2010-01-02 20:50  mrpeach

	* Changed MSW to _WIN32. Added
	  tcpserver_send_buffer_avaliable_for_client()
	  using SIOCOUTQ ioctl in linux to see if send buffer has any room
	  left. Apparently no equivalent exists for BSD or Windows.

2010-01-02 20:04  mrpeach

	* Changed MSW to _WIN32

2010-01-02 20:03  mrpeach

	* Changed MSW to _WIN32

2010-01-02 19:59  mrpeach

	* Changed MSW to _WIN32

2010-01-02 19:52  mrpeach

	* Changed MSW to _WIN32

2010-01-02 19:51  mrpeach

	* Changed MSW to _WIN32

2009-11-29 17:37  mrpeach

	* Sender threads are now created in the detached state so their
	  resources will be freed when the threads complete. This appears
	  to stop the accumulation of handles on WinXP at least.

2009-11-28 21:38  mrpeach

	* Removed duplicate send, added threaded send for files, and also
	  send whenever buffer is full (65536 bytes) for incoming lists
	  (although [tcpserver] is unlikely to be fed lists that long)

2009-11-12 22:16  mrpeach

	* Using pthreads to send each message to each client in its own
	  thread. This 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.

2009-04-08 19:48  mrpeach

	* Oops, I had forgotten to add the default timeout of 1000us.

2009-04-08 19:34  mrpeach

	* Added timeout message to set send timeout in microseconds,
	  defaults to 1000.
	  Changed help patch to match.

2009-04-08 18:35  mrpeach

	* Added [timeout( message to set microsecond timeout for send. This
	  gives time 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.

2009-03-09 16:01  mrpeach

	* The 'sent' message now contains client number, bytes sent, socket
	  number. 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.

2009-03-04 22:33  mrpeach

	* Changed send routine to send one byte at a time and output number
	  of bytes sent, so it won't block if the other end disappears.
	  Also settable buffer size.
	  Help path updated.

2009-03-02 17:55  mrpeach

	* Fixed some warnings about signed/unsigned variables.

2009-03-02 17:01  mrpeach

	* Fixed a bug that prevented the send routine from leaving the loop
	  when no more data can be sent.
	  Now it won't hang if you try sending to a recently disconnected
	  client, honest!

2009-03-02 03:41  mrpeach

	* tcpserver_send_buf: send only one byte at a time into the buffer
	  to avoid buffer overflow. This should not slow the whole thing
	  down too much since we're already passing things one byte at a
	  time.

2009-03-01 21:56  mrpeach

	* Added a [clientbuf( message to set the send buffer size for that
	  client. Also the [client( message will output the current buffer
	  size as well as the socket and ip for that client. Help patch
	  updated.

2009-02-24 21:07  mrpeach

	* Updated help files to reflect new [tcpserver], cleaned up a bit
	  more.

2009-02-24 21:06  mrpeach

	* Adds a status outlet which currently gives info about connected
	  clients and the amount of sent data.

2009-02-23 20:58  mrpeach

	* Fixed select call so it works properly

2009-02-22 23:39  mrpeach

	* include errno.h for linux

2009-02-22 22:36  mrpeach

	* Removed some commented-out stuff

2009-02-22 22:25  mrpeach

	* Checks to see if a socket can be written to before sending. If
	  not, prints a message to the pd window and doesn't send the data.

2008-11-05 19:58  mrpeach

	* Updated to add port number to list on right outlet

2008-11-05 19:58  mrpeach

	* Added port number output to ip list on right outlet as suggested
	  by zmoelnig

2008-11-05 19:35  mrpeach

	* Updated to add port number on ip (right) outlet

2008-11-05 19:34  mrpeach

	* Added port number to ip outlet as suggested by zmoelnig

2008-11-05 19:06  mrpeach

	* Added broadcast permission to sockets as suggested by zmoelnig's
	  patch 2221504

2008-06-18 17:30  mrpeach

	* Clarify what SO_REUSEADDR is for, no code changes.

2008-05-07 09:56  zmoelnig

	* removed svn:executable-flag

2008-03-27 19:56  mrpeach

	* No limit on sendable file size.

2008-03-20 15:57  mrpeach

	* Updated with dump message

2008-03-20 15:50  mrpeach

	* Added dump message for hexdump of received characters to main
	  window.
	  Added #include <sys.types.h> for u_long define.

2008-01-21 14:09  mrpeach

	* Applied W.Ritsch's patch to fix sign error with input > 127

2007-08-06 22:18  mrpeach

	* Closing socket should actually work now. Before it was just
	  removing it from the list.

2007-08-02 15:56  mrpeach

	* Added disconnectclient and disconnectsocket methods so server can
	  close connections too.

2007-07-23 16:48  mrpeach

	* Removed unused static binbuf that caused occasional crashes when
	  reinstantiating the object. Thanks IOhannes
	  for pointing it out!

2007-06-20 21:10  mrpeach

	* Updated

2007-06-20 20:31  mrpeach

	* Implemented IOhannes' list send

2006-12-12 09:07  zmoelnig

	* removed the "break;" statement in the broadcast() code to enable
	  broadcasting
	  to all connected clients (and not jsut the first one)

2006-12-04 20:18  mrpeach

	* make sure bytes > 127 are not interpreted as negative.

2006-12-04 20:17  mrpeach

	* make sure bytes >127 are not interpreted as negative.

2006-12-01 16:50  mrpeach

	* Use sprintf_s instead of snprintf if _MSC_VER defined

2006-11-28 16:44  mrpeach

	* changed MAX_PATH to FILENAME_MAX.

2006-11-28 16:43  mrpeach

	* changed MAX_PATH to FILENAME_MAX

2006-11-07 21:58  mrpeach

	* test file for net object help patches

2006-11-07 21:57  mrpeach

	* added send filename

2006-11-07 21:21  mrpeach

	* removed declspec

2006-11-07 21:20  mrpeach

	* added file send

2006-08-24 06:51  mrpeach

	* Renamed files without x_net_ prefix.
	  Removed extra copies of tcpserver and tcpclient

2006-08-17 05:33  eighthave

	* added mrpeach targets and added missing header to get things
	  compiling on Mac OS X

2006-08-16 20:22  mrpeach

	* Added the net, osc and sqosc~ directories