Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Can't establish a TCP connection through localhost on my Linux PC.
Print
Pages:
1
[
2
]
Author
Topic: Can't establish a TCP connection through localhost on my Linux PC. (Read 12227 times)
0 Members and 2 Guests are viewing this topic.
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Can't establish a TCP connection through localhost on my Linux PC.
«
Reply #15 on:
September 02, 2017, 07:21:08 pm »
If it doesn't crash from your code, then SFML code in your code shouldn't make a difference. If you remove the SFML code, does it still crash?
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
kryx
Jr. Member
Posts: 67
Re: Can't establish a TCP connection through localhost on my Linux PC.
«
Reply #16 on:
September 02, 2017, 07:26:42 pm »
I don't understand... If I remove the sfml part, I won't be able to use the socket, so there is no crash...
My application don't do anything else that launching a socket and connect to the server.
Logged
kryx
Jr. Member
Posts: 67
Re: Can't establish a TCP connection through localhost on my Linux PC.
«
Reply #17 on:
September 02, 2017, 09:11:12 pm »
Problem solved, and it's absolutely my fault. If the socket is connected, he is deleted instead of kept (when the socket failed to connect).
Logged
Print
Pages:
1
[
2
]
SFML community forums
»
Help
»
Network
»
Can't establish a TCP connection through localhost on my Linux PC.