When I'm sending something to socket with send(), the return value is -1, which means error. But it's not an error. <errno> indicates that this is EWOULDBLOCK, which means that my request will be async ;-)
I want to get number of bytes really written to socket, but not -1 as I get now.
Code:
switch (errno)
{
case