1
Network / Re: problems with sf::TcpSocket
« on: December 29, 2013, 07:14:48 pm »But it isnt work with this ip adress and I dont know why. If I ask program to show remote ip after connection fail, it s show me 0.0.0.0 but I told him "search 812553137 adress. I m god here." It doesnt like me.So the question is : what ip i must write?
You use whatever IP address the host (server side) is at. If the IP address is 81.25.53.137, then on the client side you use that. If it's something else, then you use that. However, you just cannot use some arbitrary IP address. That is not how networking works.
Also, use a port other than 21 (FTP).
I chose another port (15 and 46644) finaly - no changes.