diff options
-rw-r--r-- | src/transport/plugin_transport_udp.c | 15 | ||||
-rw-r--r-- | src/transport/test_plugin_transport_udp.c | 3 |
2 files changed, 3 insertions, 15 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index d2839762e..f20cd19df 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -22,22 +22,9 @@ | |||
22 | * @file transport/plugin_transport_udp.c | 22 | * @file transport/plugin_transport_udp.c |
23 | * @brief Implementation of the UDP transport service | 23 | * @brief Implementation of the UDP transport service |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * @author Nathan Evans? | 25 | * @author Nathan Evans |
26 | */ | 26 | */ |
27 | 27 | ||
28 | /* Notes for Nate: | ||
29 | * - Use simple network api to open ports and do select and whatnot. | ||
30 | * - For sending, just find session and send away! | ||
31 | * - All that is required is a simple linked list of known peers and | ||
32 | * how to send to them. Each will have a socket associated with it | ||
33 | * and that's pretty much it! May want to re-start over with 0.8 | ||
34 | * code now that we have a better idea. | ||
35 | * - How often to do select loop? Do with a recall thing since we | ||
36 | * don't want to use cron jobs? | ||
37 | * - First thing, set up server which listens on a UDP port. | ||
38 | * - Use plugin->env->receive to notify server of message receipt | ||
39 | * | ||
40 | */ | ||
41 | #include "platform.h" | 28 | #include "platform.h" |
42 | #include "gnunet_hello_lib.h" | 29 | #include "gnunet_hello_lib.h" |
43 | #include "gnunet_connection_lib.h" | 30 | #include "gnunet_connection_lib.h" |
diff --git a/src/transport/test_plugin_transport_udp.c b/src/transport/test_plugin_transport_udp.c index 85740c256..27140a311 100644 --- a/src/transport/test_plugin_transport_udp.c +++ b/src/transport/test_plugin_transport_udp.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2009 Christian Grothoff (and other contributing authors) | 3 | (C) 2010 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -22,6 +22,7 @@ | |||
22 | * @brief testcase for transport_api.c | 22 | * @brief testcase for transport_api.c |
23 | * @author Sailor Siraj | 23 | * @author Sailor Siraj |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * @author Nathan Evans | ||
25 | */ | 26 | */ |
26 | 27 | ||
27 | #include "platform.h" | 28 | #include "platform.h" |