Modified from ntripcaster 0.1.5, Fixed the socket length compiling error.