Fixed syntax errors, concerning new sockets implementation.