SFML community forums

Help => Network => Topic started by: Mars_999 on March 25, 2012, 04:06:01 pm

Title: Tutorial for Chat box in a lobby with SFML out there?
Post by: Mars_999 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?
Title: Re: Tutorial for Chat box in a lobby with SFML out there?
Post by: Mars_999 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
Title: Re: Tutorial for Chat box in a lobby with SFML out there?
Post by: Laurent on March 26, 2012, 08:00:58 am
Sending is not a blocking operation, so selectors are not needed there.