Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Message Framing with tcp socket?
Print
Pages: [
1
]
Author
Topic: Message Framing with tcp socket? (Read 1997 times)
0 Members and 1 Guest are viewing this topic.
emptym4nd
Newbie
Posts: 1
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
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Message Framing with tcp socket?
«
Reply #1 on:
April 17, 2013, 08:00:40 am »
You have to use sf::Packet.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Message Framing with tcp socket?