Fixed Warning in Socket