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

Author Topic: Tutorial for Chat box in a lobby with SFML out there?  (Read 2507 times)

0 Members and 1 Guest are viewing this topic.

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Tutorial for Chat box in a lobby with SFML out there?
« on: March 25, 2012, 04:06:01 pm »
I was wondering if anyone had any code they would be willing to share or know if anyone has coded up a nice little lib that one can just use to do simple chatting in a game lobby or chat window in game...  I would assume it would be multi-threaded?

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Tutorial for Chat box in a lobby with SFML out there?
« Reply #1 on: March 26, 2012, 01:28:42 am »
sf::SocketSelector, can I use it to send data also? I am guessing its only for receiving data, but not sure if I can use it for sending data?

Thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Tutorial for Chat box in a lobby with SFML out there?
« Reply #2 on: March 26, 2012, 08:00:58 am »
Sending is not a blocking operation, so selectors are not needed there.
Laurent Gomila - SFML developer

 

anything