sorry for the late reply, this is what i mean
sf::TcpListener listen;
listen.listen(5000);
sf::TcpSocket client1;
sf::TcpSocket client2;
client1.connect("192.168.1.101",5000); // successfully connected
client2.connect("192.168.1.101",5000); // failed to connect
but when i accept first the client1 from the server the client2 doesnt get any problem
client1.connect("192.168.1.101",5000); // successfully connected
listen.accept(client1);
client2.connect("192.168.1.101",5000); // successfully connected
listen.accept(client2);