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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - youri801

Pages: [1]
1
Graphics / Set.Text Question
« on: February 22, 2012, 08:22:56 am »
Try using the forum search feature before posting, your question has already been asked in a couple of threads.

I suggest you to read this thread.

http://www.sfml-dev.org/forum/viewtopic.php?t=5154&postdays=0&postorder=asc&start=0

As you will see you can simply use an std::ostringstream to achieve what you want.

2
Network / Socket Selector problem
« on: January 25, 2012, 07:57:49 pm »
Your server use packet while your client use the lower level implementation which is directly using a buffer with a size.

How the packet class work in SFML, it first send a size then the actual data.
So since you aren't using packet on the client there is somewhat a mismatch between what the client send and what the server except to receive, either use packet on both side or the lower level sockets on both side.

Note that what I said may not be totally correct, I didn't look at the source to be sure of that. Laurent might be able to answer more accurately.

Pages: [1]