[libuv] Error in uv-win.h when using libuv in shared 8.1 project

2016-09-21 Thread Gabriel Kotev
Hi, I have one problem when using libuv in shared project (8.1) in visual studio. I get the following errors : Error: C1083 Cannot open include file: 'mswsock.h': No such file or directory Error: C2371 'ssize_t' : redefinition; different basic types ChessMatch.WindowsPhone i *both in in

Re: [libuv][ANN} Planning libuv v2

2016-09-21 Thread Tim Caswell
What would a champion for serial port need to do? I care a lot about this, but don't have the technical expertise to implement it myself. On Sep 20, 2016 4:53 PM, "Roger Light" wrote: > Hi, > > Looks good. I'm particularly in favour of the thread and SSL > enhancements, it's

Re: [libuv] Is it safe to use static or pre-allocated buffer when receiving data form a single loop?

2016-09-21 Thread Saúl Ibarra Corretgé
On 09/21/2016 06:31 AM, Sunny wrote: > Hi everyone, I'm working on a simple network application and I'm new to > the libuv, so I have this noob question to ask > > If I have an application which use only one loop, with many tcp/udp > handler registered on it, is it safe to use static buffer in

[libuv] Is it safe to use static or pre-allocated buffer when receiving data form a single loop?

2016-09-21 Thread Sunny
Hi everyone, I'm working on a simple network application and I'm new to the libuv, so I have this noob question to ask If I have an application which use only one loop, with many tcp/udp handler registered on it, is it safe to use static buffer in uv_alloc_cb like this? static char

[libuv] Is it safe for use a static or pre-allocated buffer when receiving data from loop

2016-09-21 Thread Sunny
Hi, everyone, I'm working on a simple network application and I'm new to libuv, so I have a question about the buffer allocation. If I have only one event loop in application, and I registered many tcp and udp handlers on the event loop, does it safe for use the following code as uv_alloc_cb?