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 - morsisko

Pages: [1]
1
I solved that issue. I was using v140 toolset instead of v120(in msvc). Now it works fine.

2
Hey, thanks for answer.

At the moment i don't care about memory leaks, because it's only test app, i just started testing it and saw that something is wrong, so i focused on the problem, later i will of course clean the code, I will remove ClientCommunications, but I think that it won't help in this case.

3
Hi!
I have a strange problem with the network module in SFML(TCP sockets).
What's going on?
When i set my nickname on text longer than 5 chars there is happening something magic
There are video about this:
http://puu.sh/pEC6r/48d76216b9.mp4
So simply if my nickname is shorter than 5 chars it works great, but when it's equal or longer that 5 chars it starting crashing.

There are source codes:
Server: http://pastebin.com/2Dzs1qbj
Client: http://pastebin.com/tEFa7QSV

I think that the problem is in the client (because it's crashing) but i can't understand why. Yes, I tried debugging it, but it works great since it reach the line 107 after recv packet, and there I jump into one of C++ read-only file.

Thanks for help.

Pages: [1]