Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Log status at the end for xbind example. | 2caa2d8a3dc509e91235fd23c396061931ae1ef8 | Catalin(ux) M. BOIE | 2010-02-04 23:11:39 |
Log also fd in Conn_free_intern. | 2e12c2ed0b4c39341ec3da3c6fc52d32f4a351eb | Catalin(ux) M. BOIE | 2010-02-04 23:11:09 |
In shutdown, close the file descriptors. | 8bf16a0b5413d8f99cb466b52efcbd12318e958d | Catalin(ux) M. BOIE | 2010-01-27 18:51:36 |
Added xbind example. | 1cdf8e8fd7ba9049eafef8f136d6b4e5e870b0ff | Catalin(ux) M. BOIE | 2009-12-30 22:37:01 |
TODO in/out. | b0d7ba7f8abe58861a47586d767ff35bc1f0961d | Catalin(ux) M. BOIE | 2009-12-30 22:35:55 |
Stop Conn if nothing to do. | 7f13d71774792aa97b341a2e69bb557d15b6c74a | Catalin(ux) M. BOIE | 2009-12-06 01:38:12 |
Improved Conn_split_* and removed a bad leak! | f47f85c65ac5781d9419b58b20db632772947c64 | Catalin(ux) M. BOIE | 2009-12-06 01:24:58 |
Bump up the version. | 4788a6979d84939cc7aaf824ef8e0b7357cab6cc | Catalin(ux) M. BOIE | 2009-12-07 12:50:16 |
Duilder updates. | 1b717c718189468006ff0e7fb228571e76fb97e6 | Catalin(ux) M. BOIE | 2009-12-07 12:49:55 |
Exported Conn_engine_set function. | 1c69de5306d302fcd6b3e6351d3e28771b08bb05 | Catalin(ux) M. BOIE | 2009-11-12 15:18:40 |
Bumped up the version to 1.0.29. | ee219d6016983a64187cfe0866c597419f464535 | Catalin(ux) M. BOIE | 2009-09-18 12:07:41 |
Fix Conn_poll(-1)! Stupid me! | 4ce77092baec7cbbfcd8d943838aa7eeefedbc8e | Catalin(ux) M. BOIE | 2009-09-18 12:07:04 |
Bump up the version to 1.0.28. | deea1515d967c7b0708e25fe146799a09c5c2dc8 | Catalin(ux) M. BOIE | 2009-09-18 11:15:46 |
Do poll in 1000ms steps, even if Conn_poll is called with != 1 value. Else, triggers are not called! | 59b4d5d8db5a4a9048f61ad836e67c824bb1ac95 | Catalin(ux) M. BOIE | 2009-09-18 11:15:04 |
Bumbed up the version to 1.0.27. | 62ffc3a45094bd4b2d345d7ba37c862e1605050c | Catalin(ux) M. BOIE | 2009-09-18 09:43:03 |
More clear what error message is. | acd5309c8de872f618a1055258614cf542dadf51 | Catalin(ux) M. BOIE | 2009-09-18 09:42:38 |
Compact totals. | e85a25c33e9f716317932b6ee7f4b3ae6c459ff9 | Catalin(ux) M. BOIE | 2009-09-18 09:37:19 |
Cosmetic changes. | 14da1b82e17275b6869493fa15e931536b77e547 | Catalin(ux) M. BOIE | 2009-09-18 09:31:23 |
Log also how many pending connections are after trytoconnect call. | 4cd341f53a426cb49e437a46388b586913c0c859 | Catalin(ux) M. BOIE | 2009-09-18 09:30:47 |
Bumped up the version to 1.0.26. | 2c68c221bf5ef3f5a0779e94c0448231b9fd630f | Catalin(ux) M. BOIE | 2009-09-18 08:31:14 |
File | Lines added | Lines deleted |
---|---|---|
examples/xbind.c | 6 | 1 |
File examples/xbind.c changed (mode: 100644) (index ebc2c79..c41786c) | |||
... | ... | int main(void) | |
36 | 36 | struct Conn *C; | struct Conn *C; |
37 | 37 | int ret, i, family, protocol; | int ret, i, family, protocol; |
38 | 38 | char *addr; | char *addr; |
39 | char *status; | ||
39 | 40 | ||
40 | 41 | Logf = fopen(log_file, "w"); | Logf = fopen(log_file, "w"); |
41 | 42 | if (!Logf) { | if (!Logf) { |
... | ... | int main(void) | |
57 | 58 | ||
58 | 59 | Conn_error_cb = s_error; | Conn_error_cb = s_error; |
59 | 60 | ||
60 | addr = "200.200.200.200"; | ||
61 | addr = "127.0.0.1"; | ||
61 | 62 | family = Conn_addr_family(addr); | family = Conn_addr_family(addr); |
62 | 63 | protocol = SOCK_STREAM; | protocol = SOCK_STREAM; |
63 | 64 | ||
... | ... | int main(void) | |
71 | 72 | Conn_close(C); | Conn_close(C); |
72 | 73 | } | } |
73 | 74 | ||
75 | status = Conn_status(0); | ||
76 | Log(0, "%s", status); | ||
77 | free(status); | ||
78 | |||
74 | 79 | Conn_shutdown(); | Conn_shutdown(); |
75 | 80 | ||
76 | 81 | Log(0, "Finish!\n\n"); | Log(0, "Finish!\n\n"); |