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

Author Topic: Message Framing with tcp socket?  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

emptym4nd

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Message Framing with tcp socket?
« on: April 17, 2013, 01:35:46 am »
Hi,

I was wondering if SFML already has built in message framing when I call receive (http://www.sfml-dev.org/documentation/2.0/classsf_1_1TcpSocket.php#a90ce50811ea61d4f00efc62bb99ae1af)
or do I have to implement it myself?

Thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Message Framing with tcp socket?
« Reply #1 on: April 17, 2013, 08:00:40 am »
You have to use sf::Packet.
Laurent Gomila - SFML developer