>You set a socket fd to nonblocking with:
>fcntl(fd, F_SETFL, O_NONBLOCK);
>
IMHO this is NOT the right way to set non-blocking IO, you are overwriting
any other socket flags. Consider the following code:
rc = fcntl( fd, F_GETFL, 0);
if ( rc != -1)
fcntl( fd, F_SETFL, rc | O_NONBLOCK);
e
>Following questions from subscribers, I want to clarify that I asked
>about APPLET and not APPLICATION. I'm aware that it can't access the
>client's filesystem, and it is not my intention. The "read" is done
>against a URL, and the "write" is done against the server (e.g. through
>a POST reques
2>Thanks.
>However, I prefer to do it in a "Kosher" way.
>And in any case, even after decompilation, the code is still
>obfuscated.
>
No problems, just one question: what do you mean by obfuscated ?
The only thing missing is comments :-)
Eli
==
Actually he has a point. Consider who's receiving CVs nowadays.
It's quite possible an entire office doesn't have Acrobat Reader installed,
or at least most of them don't have it..
Just a thought tho
Eli
PS.
On a personal note, I doubt you'll have trouble finding a job with what you
know, so do
>
>Everybody on the Net keeps telling me that they are nessessary. I have a
>client/server utility, both sides are at my control. It works for some
>two-three weeks and then computer flooded with CLOSE_WAITS, I can not open
>more sockets and have to restart application (or reboot computer). I'm us