• 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
Re: Conditional accept for TCP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional accept for TCP


  • Subject: Re: Conditional accept for TCP
  • From: Josh Graessley <email@hidden>
  • Date: Thu, 28 Dec 2006 16:46:24 -0800


There is no similar feature. One can be implemented in a socket filter running in the kernel, but that's a lot of work. Best bet is just to accept, look at the remote address, then close the socket if you don't want it. Unfortunately, the connection will be established.


-josh

On Dec 28, 2006, at 4:37 PM, Paul Litvak wrote:

Is there a conditional accept on OS X? I'd like to control acknowledgment when a TCP connection is being established. The default behavior is that a connection to a listening socket is always acknowledged even if accept hasn't been called on the socket. Windows has a socket option SO_CONDITIONAL_ACCEPT to change such behavior (see http://msdn2.microsoft.com/en-us/library/ ms740476.aspx). Is there a similar feature on OS X?

Thanks in advance for any ideas,
Paul Litvak
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Conditional accept for TCP (From: Paul Litvak <email@hidden>)

  • Prev by Date: Conditional accept for TCP
  • Next by Date: Pass socket to kernel?
  • Previous by thread: Conditional accept for TCP
  • Next by thread: Pass socket to kernel?
  • Index(es):
    • Date
    • Thread