Deleting a TCP connection in Mac OS X
Deleting a TCP connection in Mac OS X
- Subject: Deleting a TCP connection in Mac OS X
- From: Peter Sichel <email@hidden>
- Date: Thu, 5 Jun 2008 10:34:35 -0400
On Jun 4, 2008, at 6:49 PM, Ryan McGann wrote:
One thing that I have requested in the past, but not been successful
lobbying for, is KPI access to the PCB list in the kernel. We _have_
to use the sysctl API sometimes because maintaining our own PCB list
by monitoring KPI events is not practical, but some of the data in
the pcb is quite useful. If there were a way to access the PCB from
the kernel and do our own "translation" to private data structures,
that would be much more useful for us anyway, and probably yield
better performance for our users.
Allow me to add another request to this. I'd like to see an API (and
KPI) to kill a connection (delete a PCB). Open Transport (Mentat/TCP)
had this and users loved it (I still get requests for this feature).
Sometimes a connection gets wedged or misbehaves and I have yet to
find a simple way in Mac OS X to get rid of it (short of restarting
the whole stack).
Mentat/TCP had a feature called "Named Dispatch" that allowed you to
delete a connection entry by specifying the local and remote
endpoints. Is there anything similar in Mac OS X?
- Peter
_______________________________________________
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