00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:19:34  * jasnellquit (Remote host closed the connection)
01:18:06  * avalanche123quit (Remote host closed the connection)
01:18:38  * avalanche123joined
01:20:02  * jasnelljoined
01:21:33  * rendarquit (Quit: Leaving)
01:23:40  * avalanche123quit (Ping timeout: 272 seconds)
01:25:18  * jasnellquit (Ping timeout: 256 seconds)
01:30:06  * bnoordhuisquit (Ping timeout: 240 seconds)
01:36:42  * wuqiongjoined
01:37:33  * wuqiongquit (Remote host closed the connection)
01:37:46  * wuqiongjoined
01:47:46  * s3shsquit (Quit: Computer has gone to sleep.)
01:59:41  * dap_quit (Quit: Leaving.)
02:08:45  * jgiquit (Quit: jgi)
02:22:26  * jasnelljoined
02:26:51  * jasnellquit (Ping timeout: 250 seconds)
02:39:06  * s3shsjoined
02:45:22  * happy-dudequit (Quit: Connection closed for inactivity)
02:46:12  * s3shsquit (Remote host closed the connection)
02:47:01  * s3shsjoined
02:52:24  * s3shsquit (Quit: Computer has gone to sleep.)
02:53:29  * s3shsjoined
02:55:54  * Ruyijoined
03:19:59  * s3shsquit (Quit: Computer has gone to sleep.)
03:21:04  * s3shsjoined
04:02:28  * ncthom91joined
04:26:06  * tunniclm_quit (Ping timeout: 240 seconds)
04:39:27  * s3shsquit (Ping timeout: 250 seconds)
04:40:33  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:40:49  * s3shsjoined
05:04:59  * s3shsquit (Quit: Computer has gone to sleep.)
05:47:13  * s3shsjoined
05:57:41  * s3shsquit (Remote host closed the connection)
05:58:32  * s3shsjoined
06:00:57  * s3shs_joined
06:04:06  * s3shsquit (Ping timeout: 256 seconds)
06:06:35  * s3shs_quit (Quit: Computer has gone to sleep.)
06:44:06  * toothrotquit (Ping timeout: 240 seconds)
07:35:12  * davijoined
07:35:13  * daviquit (Changing host)
07:35:13  * davijoined
07:49:40  * wuqiong_joined
07:52:54  * wuqiongquit (Ping timeout: 256 seconds)
09:12:05  * dignifiedquirejoined
09:12:12  * Ruyiquit (Read error: Connection reset by peer)
09:22:30  * boopsiesisawayquit (Ping timeout: 260 seconds)
09:35:23  * boopsiesisawayjoined
09:48:30  * wuqiong_quit (Remote host closed the connection)
10:04:45  * LeftWing__joined
10:05:10  * yunongjoined
10:05:26  * rmg_joined
10:06:44  * zju4joined
10:07:15  * mikeal_joined
10:09:09  * txdv_joined
10:09:59  * chrisdickinson_joined
10:10:57  * Damn3dquit (Ping timeout: 240 seconds)
10:10:58  * yunong_quit (Ping timeout: 240 seconds)
10:10:58  * zju3quit (Ping timeout: 240 seconds)
10:11:03  * Left_Turnquit (Ping timeout: 240 seconds)
10:11:04  * zju1quit (Ping timeout: 240 seconds)
10:11:05  * mikealquit (Ping timeout: 240 seconds)
10:11:06  * txdvquit (Ping timeout: 240 seconds)
10:11:06  * LeftWingquit (Ping timeout: 240 seconds)
10:11:07  * boopsiesisawayquit (Ping timeout: 240 seconds)
10:11:08  * rmgquit (Ping timeout: 240 seconds)
10:11:09  * j0hnsm1thquit (Ping timeout: 240 seconds)
10:11:11  * chrisdickinsonquit (Ping timeout: 240 seconds)
10:11:15  * j0hnsm1thjoined
10:11:15  * boopsiesisawayjoined
10:11:17  * warehouse13joined
10:11:50  * mikeal_changed nick to mikeal
10:13:08  * Damn3djoined
10:13:54  * dagobert_____quit (Ping timeout: 245 seconds)
10:13:54  * wilkapquit (Ping timeout: 245 seconds)
10:16:17  * wuqiongjoined
10:16:23  * dagobert_____joined
10:16:41  * wuqiongquit (Remote host closed the connection)
10:16:58  * wilkapjoined
10:18:26  * boopjoined
10:18:36  * boopsiesisawayquit (Ping timeout: 240 seconds)
10:18:37  * j0hnsm1thquit (Ping timeout: 240 seconds)
10:18:38  * j0hnsm1thjoined
10:18:38  * zju3joined
10:26:23  * wuqiongjoined
10:28:31  * evanlucasquit (Read error: Connection reset by peer)
10:29:28  * evanlucasjoined
10:34:53  * eXeC64joined
10:35:36  <eXeC64>Is there a recommended approach to handling TLS with libuv's tcp connections?
11:01:18  * rmg_quit (Remote host closed the connection)
11:08:09  * bnoordhuisjoined
11:12:54  * seishunjoined
11:19:20  * tehKaiNjoined
11:19:29  <tehKaiN>hi there
11:20:58  <tehKaiN>I'm getting started with libuv and got timeout problems, anyone would like to help?
11:35:32  <tehKaiN>Okay, since everyone's afk, i guess I'll post links to code and check for answers later in log
11:36:00  <tehKaiN>here's server: http://pastebin.com/PZRVehrw and client: http://pastebin.com/Esg1xpAk
11:37:28  <tehKaiN>Client just tries to write message looped in a timer and server echoes it in console - during second write client throws 'conection reset by peer', server throws same message during first read
11:38:14  <tehKaiN>I've checked my code with prob'ly every example on the net and can't see where I'm doing something wrong, so I guess it's something really silly
11:40:57  * rendarjoined
11:43:20  * tehKaiN_joined
11:44:48  * tehKaiNquit (Ping timeout: 252 seconds)
11:46:01  * tunniclm_joined
12:01:55  * rmgjoined
12:06:26  * rmgquit (Ping timeout: 240 seconds)
12:31:26  * rendarquit (Remote host closed the connection)
12:41:12  * tehKaiN_quit
12:56:08  * wuqiongquit (Remote host closed the connection)
13:01:31  * rendarjoined
13:03:06  * j0hnsm1thquit (Ping timeout: 240 seconds)
13:20:02  * Ruyijoined
13:43:05  * zju1joined
13:45:26  * zju3quit (Ping timeout: 240 seconds)
13:46:19  * zju4quit (Ping timeout: 250 seconds)
13:47:12  * Ruyi_joined
13:48:08  * zju3joined
13:50:22  * Ruyiquit (Ping timeout: 272 seconds)
13:57:20  * ncthom91joined
13:57:48  * daviquit (Ping timeout: 264 seconds)
14:02:52  * rmgjoined
14:07:28  * rmgquit (Ping timeout: 256 seconds)
14:22:22  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:35:12  * bnoordhuisquit (Ping timeout: 250 seconds)
14:46:08  * ncthom91joined
14:47:40  * jasnelljoined
14:50:25  * ncthom91quit (Client Quit)
15:01:53  * tehKaiNjoined
15:02:03  <tehKaiN>hi there
15:02:13  * davijoined
15:03:03  <tehKaiN>still no answer for my problem, I suppose
15:03:10  <txdv_>what problem
15:03:20  <tehKaiN>written about it few hours ago
15:03:21  <txdv_>ill look into it
15:03:31  <txdv_>lol dude you are lucky im here
15:03:35  <txdv_>otherwise you would have waited days
15:03:39  <tehKaiN>thx
15:03:57  <tehKaiN>will you find it in today's log or should I paste it again?
15:04:45  <txdv_>i have the logs
15:06:13  <tehKaiN>unless there was significant API change since "Introduction to libuv" was updated, I prob'ly misintepret how things should work
15:06:36  <tehKaiN>misinterpret*, damn words
15:07:29  <txdv_>you want me to tell that there is no way you made a mistake?
15:07:29  <txdv_>:D
15:07:46  <tehKaiN>you're shitting mi right now
15:07:51  <tehKaiN>me*
15:08:17  <txdv_>no no, ill just take a look
15:08:22  <txdv_>wait a minute, need to get it compiling
15:08:28  <tehKaiN>okay
15:08:46  <tehKaiN>I'm using latest stable code::blocks 32-bit on win10
15:09:00  <tehKaiN>if it makes any difference
15:09:50  <tehKaiN>Anyway, I guess some more recent tutorials would be handy, so if I manage to learn this lib I suppose I'll write some
15:10:07  <txdv_>Of course it would be
15:10:21  <txdv_>If you get going with libuv, you might even contribte to the exxisting once!
15:11:05  <tehKaiN>I thought about making AmigaOS port, but it'd require massive knowledge
15:11:13  <tehKaiN>which right now i don't possess ;p
15:12:35  <txdv_>trust me
15:12:44  <txdv_>by the time you possess it
15:12:46  <txdv_>you will be to lazy
15:12:46  <tehKaiN>and I only had IOCP experience once, I'm not using linux so epoll and kqueue are unknown for me
15:13:13  <txdv_>epoll is linux specific
15:13:16  <txdv_>kqueue is bsd specific
15:13:35  <txdv_>amiga has to have its own notification entity or something similar to iocp
15:14:07  <tehKaiN>amiga has 3-4 different network stacks depending on network adapter type
15:14:32  <tehKaiN>mine network stack is based on parallel-port network card made on arduino ;d
15:14:49  <tehKaiN>wrong, not mine, but one which I use
15:15:25  <tehKaiN>and all of them have different libs to write netcode
15:16:11  <tehKaiN>nevermind
15:16:21  <tehKaiN>have you found something I've done wrong?
15:18:25  <txdv_>im trying to compile it
15:18:30  <txdv_>for some reason the linker doesnt find libuv
15:19:42  * s3shsjoined
15:20:36  <tehKaiN>are you compiling it on windows? using some kind of ide?
15:21:02  <txdv_>linux
15:21:22  <tehKaiN>oh, ok
15:27:25  <txdv_>no errors like you describe on here
15:28:41  <txdv_>but
15:28:44  <txdv_>in the server code
15:28:46  <txdv_> *pBuf = uv_buf_init(malloc(sizeof(uiSuggestedSize)), uiSuggestedSize);
15:28:54  <txdv_>should be written in the allocFn
15:29:23  <tehKaiN>wait a sec
15:29:34  <tehKaiN>so it's working correctly on your OS?
15:30:43  <tehKaiN>damn, that solved it!
15:30:51  <tehKaiN>I told you it's gonna be silly ;d
15:31:07  <tehKaiN>thanks a lot
15:31:37  <tehKaiN>okay, I have one more question, though
15:32:04  <tehKaiN>uv_tcp_keepalive - how should I use it?
15:32:15  <tehKaiN>do I call this fn as server after accepting client?
15:32:29  <tehKaiN>or should I also call it as client?
15:32:49  <txdv_>no
15:32:51  <txdv_>not correctly
15:33:02  <txdv_>i told you there was an error
15:33:12  <tehKaiN>yup, after that one it works
15:33:29  <tehKaiN>and as I look at it now, it was quite stupid
15:34:00  <txdv_>https://github.com/txdv/libuvexample/commit/2e8dec8569a486f7f3ba2645c20280776a4c36eb
15:34:13  * toothrotjoined
15:35:21  <tehKaiN>okay, so how about keepalive?
15:35:29  <txdv_>what about it
15:35:41  <tehKaiN>uv_tcp_keepalive - how should I use it?
15:35:55  <tehKaiN>do I call this fn as server after accepting client or should I also call it as client?
15:36:19  <tehKaiN>it's completely not related to this example
15:36:22  <txdv_>http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html
15:36:28  <txdv_>this is a general os function
15:36:33  <txdv_>libuv just exposes it
15:36:47  <txdv_>depends on what you want to achieve and what the default settings of your os are
15:36:56  <txdv_>usually oses have a defalt keepalive timer
15:37:05  <txdv_>if you dont get for x seconds somethign it will try to send a package to the peer
15:37:17  <txdv_>if it doesnt get an answer after some time it assumes its dead and the socket will return an error
15:37:54  <tehKaiN>yup, i guess it's how it works
15:38:16  <tehKaiN>but, if I ever want to change it using libuv, how should I use this fn? after accepting socket as server?
15:38:41  <txdv_>if you want to do it server side
15:38:42  <txdv_>yeah
15:38:55  <tehKaiN>so I can also force keepalive as client?
15:39:15  <tehKaiN>without sending packets manually
15:39:35  <tehKaiN>and only by using this fn
15:39:36  <txdv_>you dont understand what that setting does
15:39:57  <tehKaiN>okay, so I guess I should educate myself and read before asking dumb questions ;p
15:39:59  <txdv_>if you want the client side to do a keep alive check after every X seconds (the X you specify) then you do it on the client
15:40:15  <txdv_>if you you want the server side to make a keep alive check every X seconds, then you do it on the server
15:40:31  <tehKaiN>okay, thanks
15:41:04  <txdv_>the os has probably a default keep alive setting
15:41:12  * bnoordhuisjoined
15:41:29  <txdv_>this function is there to either turn it off or force your tcp connection do the keep alive check more often
15:41:35  <txdv_>or less often
15:41:53  <tehKaiN>okay, so another question
15:42:11  <tehKaiN>are there secure sockets for libuv?
15:42:35  <txdv_>well you can just write it yourself
15:42:39  <txdv_>but there is no finished solution
15:42:46  <txdv_>libuv does what libuv does
15:42:49  <tehKaiN>that's what I thought
15:42:55  <txdv_>it abstracts IOCP kqueue and epoll
15:43:06  <txdv_>secure sockets are another issue and will never be part of vanilla libuv
15:43:29  <txdv_>libuv might expose a unified stream interface which can be extended
15:43:33  <tehKaiN>yeah, I've seen other projects on github implementing this feature
15:43:51  <tehKaiN>but they seem to be abandoned
15:44:13  <txdv_>https://github.com/deleisha/evt-tls
15:45:02  <tehKaiN>Is it stable for basic use?
15:45:35  * bnoordhuisquit (Ping timeout: 240 seconds)
15:45:38  * s3shsquit (Remote host closed the connection)
15:45:39  <txdv_>i dont know
15:45:42  <txdv_>i dont think so
15:45:48  <txdv_>its just some dude who wrote something
15:45:52  <txdv_>you either look into it or write your own
15:46:20  <tehKaiN>okay, thanks a lot
15:46:28  * s3shsjoined
15:46:59  <tehKaiN>so, I'm gonna fiddle with my code and try not to do silly bugs
15:47:21  <tehKaiN>cu
15:47:21  <txdv_>nodejs exposes openssl
15:47:32  <txdv_>wwand then does its own abstraction
15:47:52  <tehKaiN>not interested in nodejs, I'm mainly C programmer
15:48:24  <tehKaiN>okay, g2g
15:48:26  <txdv_>need to code some software for those polish traktors/
15:48:50  <tehKaiN>wtf about polish traktors, lol?
15:48:59  <txdv_>:D
15:49:37  <tehKaiN>btw. I'm from pl
15:50:42  <txdv_>i know, i saw it from the comment
15:51:12  <tehKaiN>so I haven't removed all of them
15:52:53  <tehKaiN>I guess it's quite distinctive language
15:53:10  * Ruyi_quit (Read error: Connection reset by peer)
15:53:58  <txdv_>yeah
15:53:59  <txdv_>Grzegorz Brzęczyszczykiewicz
15:55:25  <tehKaiN>woah
15:55:38  <tehKaiN>Zażółć gęślą jaźń
15:55:54  <tehKaiN>shortest sentence containing all of our extra chars
15:59:43  <txdv_>im from lithuania
15:59:56  <txdv_>so we have ąčęėįšųūž
16:04:03  <tehKaiN>nice
16:39:46  * s3shsquit (Ping timeout: 240 seconds)
16:41:58  * s3shsjoined
16:43:02  * dignifiedquirequit (Quit: dignifiedquire)
17:04:24  * rmgjoined
17:09:14  * rmgquit (Ping timeout: 272 seconds)
17:26:58  * seishunquit (Ping timeout: 272 seconds)
17:32:13  * seishunjoined
17:33:14  * tolmasky_joined
17:33:14  * jcrugzz_joined
17:33:15  * wilkap_joined
17:33:15  * soarez_joined
17:34:19  * benoitc_joined
17:34:20  * indexzero_joined
17:34:31  * seishunquit (Read error: Connection reset by peer)
17:35:33  * yunong_joined
17:38:22  * othiym23_joined
17:39:39  * Raynos_joined
17:40:34  * wilkapquit (*.net *.split)
17:40:35  * yunongquit (*.net *.split)
17:40:36  * benoitcquit (*.net *.split)
17:40:37  * indexzeroquit (*.net *.split)
17:40:37  * rjequit (*.net *.split)
17:40:38  * othiym23quit (*.net *.split)
17:40:38  * tolmaskyquit (*.net *.split)
17:40:38  * jcrugzzquit (*.net *.split)
17:40:38  * soarezquit (*.net *.split)
17:40:40  * jonetquit (*.net *.split)
17:40:41  * erikjquit (*.net *.split)
17:40:42  * Raynosquit (*.net *.split)
17:40:45  * niskaquit (*.net *.split)
17:41:11  * wilkap_changed nick to wilkap
17:41:45  * indexzero_changed nick to indexzero
17:42:11  * othiym23_changed nick to othiym23
17:42:26  * soarez_changed nick to soarez
17:42:38  * benoitc_changed nick to benoitc
17:42:50  * jcrugzz_changed nick to jcrugzz
17:43:32  * tolmasky_changed nick to tolmasky
17:44:27  * niskajoined
17:44:40  * rjejoined
17:49:14  * Raynos_changed nick to Raynos
17:50:59  * erikjjoined
17:51:00  * erikjquit (Changing host)
17:51:00  * erikjjoined
18:06:41  * s3shsquit (Quit: Computer has gone to sleep.)
18:08:23  * dignifiedquirejoined
18:57:24  * seishunjoined
19:09:07  * s3shsjoined
19:20:19  <eXeC64>What's the recommended approach for using TLS with libuv?
19:21:37  <txdv_>there is none
19:22:49  <txdv_>use whatever you see fit
19:22:59  <txdv_>nodejs uses openssl
19:23:07  <txdv_>you can take a look at indutnys bud
19:23:18  <txdv_>it uses openssl, but opposed to nodejs, on the C level
19:26:25  * daviquit (Ping timeout: 250 seconds)
19:36:48  * dignifiedquirequit (Ping timeout: 272 seconds)
19:37:15  * rmgjoined
19:45:40  * s3shsquit (Quit: Computer has gone to sleep.)
19:48:27  * LeftWing__changed nick to LeftWing
19:53:02  * bnoordhuisjoined
20:06:58  * zju3quit (Remote host closed the connection)
20:15:25  * seishunquit (Read error: Connection reset by peer)
20:18:11  * j0hnsm1thjoined
20:28:47  * seishunjoined
20:44:26  * s3shsjoined
21:06:05  * s3shsquit (Remote host closed the connection)
21:06:59  * s3shsjoined
21:07:59  * dignifiedquirejoined
21:18:08  * PeterRabbitquit (Ping timeout: 272 seconds)
21:18:12  * WalrusPonyjoined
21:46:33  * petka____joined
22:16:58  * boopchanged nick to boopisaway
23:00:44  * seishunquit (Ping timeout: 272 seconds)
23:00:51  * jasnellquit (Remote host closed the connection)
23:01:13  * s3shsquit (Quit: Computer has gone to sleep.)
23:01:51  * jasnelljoined
23:02:06  * dignifiedquirequit (Ping timeout: 240 seconds)
23:03:23  * tehKaiNquit
23:09:05  * s3shsjoined
23:17:30  * rendarquit (Quit: Leaving)
23:41:13  * s3shsquit (Quit: Computer has gone to sleep.)