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)
Added Conn_split_get_ull (unsigned long long). 735e92324db56d5e9875f4e123102fc1e995cb4d Catalin(ux) M. BOIE 2009-04-13 22:13:04
Conn_get_line removes also '\r' now. c1e5a9915b3ae6196a68fb1e7f73f295bef1737c Catalin(ux) M. BOIE 2009-04-13 21:56:47
Re-export Conn_get lost somehow. 293f7aaed4f39de54821c8863023adb0e00234ac Catalin(ux) M. BOIE 2009-04-13 21:33:19
Bump the version. d74d67d1327c8873c715906feeb8b4f053fff70b Catalin(ux) M. BOIE 2009-03-17 13:07:01
Added splitting functions. It gets easier to write ascii line client/server app. 48e73f48d8c264e944dfd211e926ca3ad8f879d6 Catalin(ux) M. BOIE 2009-03-17 13:06:19
Do not build examples by default. 9dafc6232f426f361047a1836832e2c97823d14c Catalin(ux) M. BOIE 2009-03-17 09:59:14
Bump up the version. 47a4be6a1ae721a7b9d0e07db5a288985163758c Catalin(ux) M. BOIE 2009-03-17 09:01:10
Added Conn_addr_info - check what family an address is. 10087d1dec5592e4a5396df09aade7d963cf1ea4 Catalin(ux) M. BOIE 2009-03-17 08:55:47
Bump up the version. 4ce4f82faa025d9a386538d1db5d74a443baf62a Catalin(ux) M. BOIE 2009-03-10 09:22:37
Do not try to close free state slots. f17b6d92d668f72de10967ae9178131916db64c8 Catalin(ux) M. BOIE 2009-03-09 10:29:35
TODO: More entries added (timer optimization). 0b0be1574b15e7dae4b7dca9f02f0ff78bc02136 Catalin(ux) M. BOIE 2009-03-09 10:27:37
Raised debug level for compacting phase. d610f3d45075311f9f21c7c122dfefa773c48a64 Catalin(ux) M. BOIE 2009-03-09 10:17:41
Bump up the version. b8a55af5786f74ea38e5929af347cfc79f0d3dfd Catalin(ux) M. BOIE 2009-03-09 10:14:10
Moved free_intern in the periodic scanning to not miss connections in listen. 5fb989866b1ceb68e64e62e035610c40cf519c03 Catalin(ux) M. BOIE 2009-03-09 10:05:03
More clear logging. 3599fc41cce9bd25e5461d0c4350780f4dbc64a6 Catalin(ux) M. BOIE 2009-03-09 10:04:47
Bump up the version. 64a2ec25c265a6750b25e7bd5be85f66766e4cf4 Catalin(ux) M. BOIE 2009-03-09 08:59:22
Fixed a bug preventing a socket in listen state to be closed. 287e366451321862731e005d48391ed39149693b Catalin(ux) M. BOIE 2009-03-09 08:58:51
Duilder updates. 30f5e95e50703f2bb3e5ba6f088b09f858e0e95c Catalin(ux) M. BOIE 2009-03-09 08:58:40
Extended timeout to 1000ms from 500ms. No need to wake up too frequent. ea268527d103d09685192399bbad6ebbd22430e8 Catalin(ux) M. BOIE 2009-03-06 13:11:36
Bump version in duilder. cbe72841517c536aa714fd8dfdbe1799248664e2 Catalin(ux) M. BOIE 2009-03-05 15:35:37
Commit 735e92324db56d5e9875f4e123102fc1e995cb4d - Added Conn_split_get_ull (unsigned long long).
Signed-off-by: Catalin(ux) M. BOIE <catab@embedromix.ro>
Author: Catalin(ux) M. BOIE
Author date (UTC): 2009-04-13 22:13
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2009-04-14 12:47
Parent(s): c1e5a9915b3ae6196a68fb1e7f73f295bef1737c
Signer:
Signing key:
Signing status: N
Tree: f10e66993f89e41f54961b18ba056ce34eb255ff
File Lines added Lines deleted
Conn_engine_core.c 16 0
Conn_engine_core.h 2 0
File Conn_engine_core.c changed (mode: 100644) (index d137edb..4fad34d)
... ... unsigned long Conn_split_get_ul(const struct Conn_split *s, const char *l,
1151 1151 return ret; return ret;
1152 1152 } }
1153 1153
1154 /*
1155 * Return a value as unsigned long long
1156 */
1157 unsigned long long Conn_split_get_ull(const struct Conn_split *s, const char *l,
1158 unsigned int base)
1159 {
1160 char *r;
1161 unsigned long long ret = 0;
1162
1163 r = Conn_split_get(s, l);
1164 if (r)
1165 ret = strtoull(r, NULL, base);
1166
1167 return ret;
1168 }
1169
1154 1170 /* /*
1155 1171 * Return a value as double * Return a value as double
1156 1172 */ */
File Conn_engine_core.h changed (mode: 100644) (index acfd46e..1b7cf00)
... ... extern char *Conn_split_get_e(const struct Conn_split *s,
308 308 const char *l, unsigned int *size); const char *l, unsigned int *size);
309 309 extern unsigned long Conn_split_get_ul(const struct Conn_split *s, extern unsigned long Conn_split_get_ul(const struct Conn_split *s,
310 310 const char *l, unsigned int base); const char *l, unsigned int base);
311 extern unsigned long long Conn_split_get_ull(const struct Conn_split *s,
312 const char *l, unsigned int base);
311 313 extern double Conn_split_get_d(const struct Conn_split *s, extern double Conn_split_get_d(const struct Conn_split *s,
312 314 const char *l); const char *l);
313 315 extern void Conn_split_free(struct Conn_split **s); extern void Conn_split_free(struct Conn_split **s);
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