• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
nonblocking accept() on MacOS X (ADSP)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: nonblocking accept() on MacOS X (ADSP)
      • From: jud spencer <email@hidden>
  • Prev by Date: Re(2): broadcasting over extended network (AppleTalk)
  • Next by Date: Re: nonblocking accept() on MacOS X (ADSP)
  • Previous by thread: Re: Am I Connected (Cont'd ... again)
  • Next by thread: Re: nonblocking accept() on MacOS X (ADSP)
  • Index(es):
    • Date
    • Thread