nonblocking accept() on MacOS X (ADSP)
nonblocking accept() on MacOS X (ADSP)
- Subject: nonblocking accept() on MacOS X (ADSP)
- From: Peter Kelm <email@hidden>
- Date: Tue, 12 Feb 2002 13:00:33 -0800 (PST)
Hi,
I am currently porting some older networking code
(AppleTalk ADSP) to MacOS X. Our classic MacOS
(7.x-9.x) method of listening to and accepting a
connection uses a asynchronous equivalent of accept().
In order to minimize the changes I would like to use a
non-blocking accept() call on MacOS X on my ADSP
socket. But the "standard way" of using
fcntl(fListenSocket, F_SETFL, O_NONBLOCK) fails. What
can I do to get it working?
I heard that the MacOS X version of AppleTalk is
synchronous only. Does that mean that I am out of
luck?
Best regards,
Peter
---
Peter Kelm
postal Karl-Broeger-Str. 48
D-91074 Herzogenaurach
eMail email@hidden
web www.k2code.com
=====
--- beam me up scotty, this planet sucks ---
Plan B
Peter Kelm
email@hidden
email@hidden
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.