I am Hack Sparrow
Captain of the Internets.

Archive for September, 2012

Node.js UDP Server and Client Example

Here is a quick tutorial on setting up a UDP server and client in Node.js. For all things UDP in Node.js, you will need to use the dgram library, so read it up well and good. Here is a simple example of a UDP server. [code] var PORT = 33333; var HOST = ''; var dgram = require('dgram'); var server = dgram.createSocket('udp4'); server.on('listening', function () { var address = server.addre ...

Solution for VPN Connection: Verify your settings and try reconnecting.

I have been encountering a very irritating problem on my Mac for quite some time. Everytime VPN times out or you enter a wrong password, VPN stops working with this message: [code] An unrecoverable / configuration error occurred. Verify your settings and try reconnecting. [/code] Here is how to fix the problem without restarting your system. [code] $ ps aux | grep racoon captain 8399 0.0 0.0 2435116 524 s002 S+ 5:13PM 0:00.00 grep racoo ...