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

Author Topic: extending packet with queue  (Read 2077 times)

0 Members and 1 Guest are viewing this topic.

monkey3

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
extending packet with queue
« on: November 18, 2015, 07:54:20 pm »
Hi brothers and sisters,

Im trying to make a game and for jobs Im using boost's spsc_queue class within sf::Packet class.

Im taking some errors (sometimes) while receiving different sized packets. I think I must tell to the spsc_queue the exact size of th Packet. But how can I do this?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Laurent Gomila - SFML developer

monkey3

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: extending packet with queue
« Reply #2 on: November 19, 2015, 01:51:18 pm »
Thank you, I will read that.