Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
multiple tcplisteners
Print
Pages: [
1
]
Author
Topic: multiple tcplisteners (Read 8845 times)
0 Members and 1 Guest are viewing this topic.
Henry
Newbie
Posts: 4
multiple tcplisteners
«
on:
August 08, 2021, 05:42:09 am »
Hi! im a fellow newbie who just found out about sfml
i was wondering if we can have multiple Tcplisteners and socketSelectors on multiple different port, if i cant, is there anyway i can have a server listening to multiple different ports?
Thanks!
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: multiple tcplisteners
«
Reply #1 on:
October 10, 2021, 06:31:04 pm »
If you do, the Socket police will come and arrest you
Joking aside, I think this should be quite okay, but you of course need to then come up with a concept that allows for multiple socket handling, which can be quite tricky.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
multiple tcplisteners
anything