catalinux / Conn (public) (License: LGPLv2) (since 2016-03-01) (hash sha1)
Net library for easy building ipv4/ipv6 network daemons/clients
List of commits:
Subject Hash Author Date (UTC)
Better error logging in xbind example. dac03d74521e751de9d900ea115ad2fbd2deba6e Catalin(ux) M. BOIE 2010-02-16 20:22:05
Fixed some stupid choices regarding storage type for the output of snprintf. 3cddc7934c4fc2640e4a60d408e98c45acef48c9 Catalin(ux) M. BOIE 2010-02-05 00:12:13
First round of memory status. 9e267dc05ec2c0b1e50288a6d9a5db5d3677e82e Catalin(ux) M. BOIE 2010-02-04 23:46:48
Do not overwrite Conn_error in Conn_free_intern. 380c378dd92e7a797f0dfec99bed7ce77034933c Catalin(ux) M. BOIE 2010-02-04 23:31:50
No need to remove fd from epoll just before closing it. bf7e91a441314a37f5f8a2430645c913b953499f Catalin(ux) M. BOIE 2010-02-04 23:17:05
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
Commit dac03d74521e751de9d900ea115ad2fbd2deba6e - Better error logging in xbind example.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2010-02-16 20:22
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2010-06-11 09:04
Parent(s): 3cddc7934c4fc2640e4a60d408e98c45acef48c9
Signing key:
Tree: 03835d40001f1aae60c1196b07755ad3dd374205
File Lines added Lines deleted
examples/xbind.c 7 2
File examples/xbind.c changed (mode: 100644) (index c41786c..e1aefc2)
... ... int main(void)
66 66 while (i++ < 100) { while (i++ < 100) {
67 67 C = Conn_socket_addr(family, protocol, addr, 65533); C = Conn_socket_addr(family, protocol, addr, 65533);
68 68 if (!C) { if (!C) {
69 Log(0, "Cannot bind!\n");
69 Log(0, "Cannot bind [%s]!\n", Conn_strerror());
70 70 continue; continue;
71 71 } }
72 72 Conn_close(C); Conn_close(C);
73
74 ret = Conn_poll(0);
75 Log(0, "Conn_pol returned %d.\n", ret);
73 76 } }
74 77
75 78 status = Conn_status(0); status = Conn_status(0);
76 Log(0, "%s", status);
79 Log(0, "STATUS: %s", status);
77 80 free(status); free(status);
78 81
79 82 Conn_shutdown(); Conn_shutdown();
80 83
81 84 Log(0, "Finish!\n\n"); Log(0, "Finish!\n\n");
82 85
86 fclose(Logf);
87
83 88 return 0; return 0;
84 89 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/Conn

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/Conn

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/Conn

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main