Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Tutorial for Chat box in a lobby with SFML out there?
Print
Pages: [
1
]
Author
Topic: Tutorial for Chat box in a lobby with SFML out there? (Read 2914 times)
0 Members and 1 Guest are viewing this topic.
Mars_999
Full Member
Posts: 103
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?
Logged
Mars_999
Full Member
Posts: 103
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
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Tutorial for Chat box in a lobby with SFML out there?