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

Author Topic: Many TCP connections?  (Read 10296 times)

0 Members and 1 Guest are viewing this topic.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Many TCP connections?
« Reply #15 on: August 25, 2014, 01:08:27 pm »
Yes.
But I would recommend that you stick with TCP until you have a lot more experience with networking.

Saitei

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Many TCP connections?
« Reply #16 on: August 26, 2014, 11:12:35 pm »
sf::TcpListener/sf::TcpSocket is a thread-safe?

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Many TCP connections?
« Reply #17 on: August 26, 2014, 11:14:11 pm »
Do yourself a favor and forget about threads...

Saitei

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Many TCP connections?
« Reply #18 on: August 26, 2014, 11:28:33 pm »
Do yourself a favor and forget about threads...
Неа, не забуду. Я обдумал свои ошибки и наконец-то создал более-менее оправданную архитектуру адаптивного многопоточного сервера.

I do not forget them.

 

anything