home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!vision!chetanm
- From: chetanm@visionware.co.uk (Chetan Mistry)
- Newsgroups: comp.unix.programmer
- Subject: IOCTL routines under Interactive UNIX
- Message-ID: <1993Jan4.165201.11213@visionware.co.uk>
- Date: 4 Jan 93 16:52:01 GMT
- Sender: news@visionware.co.uk (News Admin)
- Organization: VisionWare Ltd., Leeds, UK
- Lines: 18
- X-Newsreader: Tin 1.1 PL4
-
-
- Does anybody no anything about the IOCTL routines, especially
- under Interactive UNIX. I have created a socket and I'm trying
- to change the socket so that it is non-blocking using FIONBIO.
-
- eg.
-
- int s, block =1;
-
- s = socket(AF_INET, SOCK_DGRAM, 0)
-
- ioctl(s, FIONBIO, (char *) &block);
-
- The ioctl call never terminates (does anybody no why ?).
-
- Any help will be appreciated. Thanks
-
- Chet
-