aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2007-06-20 20:31:57 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2007-06-20 20:31:57 +0000
commit50bc6c7b8a42290aa79fd2cb95ece1e4a581a00b (patch)
treed4acf21841e5046f5fe2c48ceb0d2700a2f1125e
parentce721421ee573b9f8ae179981167e34ba81daddd (diff)
Implemented IOhannes' list send
svn path=/trunk/externals/mrpeach/; revision=7789
-rwxr-xr-xnet/tcpclient.c1
-rwxr-xr-xnet/tcpsend.c1
-rwxr-xr-xnet/tcpserver.c1
-rwxr-xr-xnet/udpsend.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/net/tcpclient.c b/net/tcpclient.c
index 4adc298..d183e90 100755
--- a/net/tcpclient.c
+++ b/net/tcpclient.c
@@ -462,6 +462,7 @@ void tcpclient_setup(void)
class_addmethod(tcpclient_class, (t_method)tcpclient_rcv, gensym("receive"), 0);
class_addmethod(tcpclient_class, (t_method)tcpclient_rcv, gensym("rcv"), 0);
class_addmethod(tcpclient_class, (t_method)tcpclient_dump, gensym("dump"), A_FLOAT, 0);
+ class_addlist(tcpclient_class, (t_method)tcpclient_send);
}
/* end of tcpclient.c */
diff --git a/net/tcpsend.c b/net/tcpsend.c
index 03ebca7..67d2c1b 100755
--- a/net/tcpsend.c
+++ b/net/tcpsend.c
@@ -247,6 +247,7 @@ void tcpsend_setup(void)
gensym("disconnect"), 0);
class_addmethod(tcpsend_class, (t_method)tcpsend_send, gensym("send"),
A_GIMME, 0);
+ class_addlist(tcpsend_class, (t_method)tcpsend_send);
}
/* end tcpsend.c */
diff --git a/net/tcpserver.c b/net/tcpserver.c
index f283408..4b9df11 100755
--- a/net/tcpserver.c
+++ b/net/tcpserver.c
@@ -641,6 +641,7 @@ void tcpserver_setup(void)
class_addmethod(tcpserver_class, (t_method)tcpserver_send, gensym("send"), A_GIMME, 0);
class_addmethod(tcpserver_class, (t_method)tcpserver_client_send, gensym("client"), A_GIMME, 0);
class_addmethod(tcpserver_class, (t_method)tcpserver_broadcast, gensym("broadcast"), A_GIMME, 0);
+ class_addlist(tcpserver_class, (t_method)tcpserver_send);
}
/* end of tcpserver.c */
diff --git a/net/udpsend.c b/net/udpsend.c
index be95d78..6a6aef5 100755
--- a/net/udpsend.c
+++ b/net/udpsend.c
@@ -240,6 +240,7 @@ void udpsend_setup(void)
gensym("disconnect"), 0);
class_addmethod(udpsend_class, (t_method)udpsend_send, gensym("send"),
A_GIMME, 0);
+ class_addlist(udpsend_class, (t_method)udpsend_send);
}
/* end udpsend.c*/