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

Author Topic: SFML UDP packet fragmentation  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

hayer

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
SFML UDP packet fragmentation
« on: February 08, 2013, 04:56:23 pm »
Does the sf::UdpSocket and sf::Packet handle packet fragmentation?

Couldn't find any data on this in the documents.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML UDP packet fragmentation
« Reply #1 on: February 08, 2013, 05:03:18 pm »
UDP datagrams cannot be fragmented when you receive them, it's handled by the lower network layers.
Laurent Gomila - SFML developer

hayer

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: SFML UDP packet fragmentation
« Reply #2 on: February 08, 2013, 05:05:15 pm »
... Okey, I want to say something that doesn't make me look like a retard, but my brain is still stuck at "WTF was I thinking".

And of course you are right.