On Saturday 18 September 2004 22:32, guy keren wrote:
>
> On Sun, 19 Sep 2004, ik wrote:
>
> > Hi
> >
> > I'm trying to convert an old MS-Windows program I'd written into Linux, and the
> > program uses
> > Non-Blocking communication.
>
> [...snip...]
>
> > opt = fcntl(nsfd, F_GETFD);
>
> thi
On Sun, 19 Sep 2004, ik wrote:
> Hi
>
> I'm trying to convert an old MS-Windows program I'd written into Linux, and the
> program uses
> Non-Blocking communication.
[...snip...]
> opt = fcntl(nsfd, F_GETFD);
this should be F_GETFL (and later on F_SETFL).
by the way, your code will not work p
Hi
I'm trying to convert an old MS-Windows program I'd written into Linux, and the program uses
Non-Blocking communication.
Although the connection itself does work under Linux, the "Non Blocking" part does not.
It's still working as a blocking.
This is the code I'm making (translated for this me