Pnet is a MEX-file-based toolbox for Octave/MATLAB. The help instructions would lead you to believe that UDP reads block by default, but this didn’t work for me: I had to specify a timeout. You can specify Inf, but given that you can’t ctrl-c out of a program whilst the MEX part is running, I’d recommend
read moreAll articles
Compiling pnet (or any other MEX file) with Visual Studio Express and Octave
Octave supports MEX files, just like MATLAB. Here’s how to compile a MEX file (in my case pnet): Run Developer Tools (2012) Change Octave’s math.h to specify correct MS math.h Add Octave ‘bin’ folder to path Change to the folder with the files Run command: mkoctfile --mex -lws2_32.lib -DWIN32 -v -o pnet pnet.c The last
read moreInternet Sharing in OS X 10.8.2 seems to work after well
After updating to OSX 10.8.2 (Server), internet sharing stopped working. After a lot of fighting, that included setting up manually (turned out not to be viable because I couldn’t figure out how to automatically launch an ad-hoc network at startup), I undid everything I tried except for this one tip: http://support.apple.com/kb/TS4418 Perhaps if I’d done
read more