Re: Conditional accept for TCP
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