[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    fcntl in kdewin32
From:       Carlo <brandon.ml () gmail ! com>
Date:       2008-04-02 12:56:22
Message-ID: 3262b6180804020556t359f1e33nb6639c0cc1330c0 () mail ! gmail ! com
[Download RAW message or body]

Hi,
the fcntl function in kdewin32 is empty, since fcntl is used in
ktorrent to set the socket as non blocking(fcntl(fd, F_SETFL,
O_NONBLOCK)) i had to replace it with this code

u_long b = 1;
ioctlsocket(fd, FIONBIO, &b);

so i think that this could be added to the win32 fcntl, and maybe put
a #warning too to say that it's still not fully implemented

Carlo
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic