Should socket be an 'int' or 'unsigned int'?