Page 1 of 1

lsock(j) makes a comeback

PostPosted: Fri Nov 23, 2018 7:33 pm
by morpheus
The updated Volume I chapter includes over 25 pages on networking which I thought I'd put in Volume II, but didn't. One of the cool undocumented APIs I'm showing in com.apple.network.statistics, both in its raw form (PF_SYSTEM/SYSPROTO_CONTROL) , and the private NetworkStatistics.framework.


http://newosxbook.com/src.jl?tree=listi ... etbottom.c

is a sample. It's not 100% complete and efficient as lsock was, but it will do to open this amazing, proprietary and undocumented API to avid developers!

J