Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Removed unused includes. | 8af81a4c311caa7d738000a5208d01d7620d1040 | Catalin(ux) M. BOIE | 2009-08-21 18:57:33 |
Improved blackhole example. | 2fd7ff181a412f4ba060b0e89b97acdf89a8fb88 | Catalin(ux) M. BOIE | 2009-08-21 18:03:22 |
Fixed connections to outside. Still, it is a little mess there. | 417ccd4a48508a810377676658d51c5103168472 | Catalin(ux) M. BOIE | 2009-08-21 17:42:37 |
addr and bind_addr are not pointers! Corrected them. | e1deeb765500ee079802c2cd6543f9c9496d8f9b | Catalin(ux) M. BOIE | 2009-08-21 16:49:24 |
Exported _alloc and _commit functions. | 9a3159e89eff020cfb75b9eec49a45a637a6da57 | Catalin(ux) M. BOIE | 2009-08-21 16:39:27 |
Added blackhole example. | 8a7ac49b018ad65ba386f8a50725745127b4cbd2 | Catalin(ux) M. BOIE | 2009-08-21 15:54:55 |
TODO in/out. | fdcfbf9e18ed5fbe0135b9aa702e09432fa71e93 | Catalin(ux) M. BOIE | 2009-08-21 15:53:05 |
First chunk of generic socket handling. | b9a488ba615c4322b5d116a29919f11fd476b200 | Catalin(ux) M. BOIE | 2009-08-21 15:50:45 |
Added ntime example (returns CLOCK_REALTIME as fast as it can). | e2fa318caf3e9aea09a853ab2b4af4b5a2cc8261 | Catalin(ux) M. BOIE | 2009-08-20 15:41:20 |
TODO ins and outs. | 66a987be5d8e08ef6fe1ce0c056b8c3acd65bdb7 | Catalin(ux) M. BOIE | 2009-08-20 15:36:14 |
Cosmetic change. | 5dab6539af2ca97f3f3f9b55e20be7d6f423829e | Catalin(ux) M. BOIE | 2009-08-20 15:34:01 |
Abort if current slot is in state FREE. It must not happen. | 14dc9f444309cddd46996a47277cefe4eec77db5 | Catalin(ux) M. BOIE | 2009-08-20 15:33:31 |
Clean a slot only after we move it in the end. This fixes an infinite loop if last and first slots were both in state FREE. | eecc6decaea6801235aa7a02d193782e1accc58f | Catalin(ux) M. BOIE | 2009-08-20 15:32:38 |
Cosmetic changes. | c147533732f8b7b4bbe2725f04bcce0df0271c70 | Catalin(ux) M. BOIE | 2009-08-20 15:31:12 |
Call del_obj only if we have a valid file descriptor. | 95c90269de0fa59a6ea69c2067827bbf57db16d5 | Catalin(ux) M. BOIE | 2009-08-20 15:29:42 |
Conn_enqueue returns now the number of bytes queued or -1. You should really check the error code. | ab88f823936ad67ba08aa5fd7984ea735c6c7dd7 | Catalin(ux) M. BOIE | 2009-08-20 15:28:42 |
Added CONN_STATE_ERROR. | e20e518e10f686eb0b248ae23fe193ea7344594b | Catalin(ux) M. BOIE | 2009-08-20 15:27:50 |
Added ERROR_INTERNAL. | 380a956dacfc05f0668e6a3fac941a464b5d7deb | Catalin(ux) M. BOIE | 2009-08-20 15:27:08 |
Added helper raise_error. | 10abeda5c6e4d1fb2c7011b9d2d070ea4db1cc11 | Catalin(ux) M. BOIE | 2009-08-20 15:26:32 |
Correctly set error state and errno code. | 6eca4a62d11c1881c8803d927e8155f15ca39072 | Catalin(ux) M. BOIE | 2009-08-20 15:25:11 |
File | Lines added | Lines deleted |
---|---|---|
examples/blackhole_c.c | 0 | 17 |
examples/blackhole_s.c | 0 | 17 |
File examples/blackhole_c.c changed (mode: 100644) (index a391810..873f147) | |||
4 | 4 | */ | */ |
5 | 5 | #define _GNU_SOURCE | #define _GNU_SOURCE |
6 | 6 | ||
7 | #include <errno.h> | ||
8 | #include <string.h> | ||
9 | #include <strings.h> | ||
10 | #include <stdlib.h> | ||
11 | #include <unistd.h> | ||
12 | #include <sys/poll.h> | ||
13 | #include <sys/types.h> | ||
14 | #include <sys/socket.h> | ||
15 | #include <stdio.h> | ||
16 | #include <fcntl.h> | ||
17 | #include <netinet/in.h> | ||
18 | #include <sys/time.h> | ||
19 | #include <sys/ioctl.h> | ||
20 | #include <time.h> | ||
21 | #include <arpa/inet.h> | ||
22 | #include <stdarg.h> | ||
23 | |||
24 | 7 | #include <Conn.h> | #include <Conn.h> |
25 | 8 | ||
26 | 9 | /* Global variables */ | /* Global variables */ |
File examples/blackhole_s.c changed (mode: 100644) (index 78fbbd6..7a6626e) | |||
5 | 5 | ||
6 | 6 | #define _GNU_SOURCE | #define _GNU_SOURCE |
7 | 7 | ||
8 | #include <errno.h> | ||
9 | #include <string.h> | ||
10 | #include <strings.h> | ||
11 | #include <stdlib.h> | ||
12 | #include <unistd.h> | ||
13 | #include <sys/poll.h> | ||
14 | #include <sys/types.h> | ||
15 | #include <sys/socket.h> | ||
16 | #include <stdio.h> | ||
17 | #include <fcntl.h> | ||
18 | #include <netinet/in.h> | ||
19 | #include <sys/time.h> | ||
20 | #include <sys/ioctl.h> | ||
21 | #include <time.h> | ||
22 | #include <arpa/inet.h> | ||
23 | #include <stdarg.h> | ||
24 | |||
25 | 8 | #include <Conn.h> | #include <Conn.h> |
26 | 9 | ||
27 | 10 | /* Global variables */ | /* Global variables */ |