Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Toboxos

Pages: [1]
1
Network / Test if TcpSocket exists
« on: December 04, 2014, 09:50:34 pm »
Hello,

i want to write a little Chat. I have the class user which contain a sf::TcpSocket. If a user connect the i set the TcpSocket. But if the user doesnt already connect and i try to send him a message my programm crashes. Can i check if the Socket is valid?
Thanks for answers

Pages: [1]
anything