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

Pages: 1 [2] 3 4
16
Network / Multiple UDP Clients
« on: July 09, 2011, 10:10:40 pm »
Ok, but my question is - when sending from the player to the server, 2 players using the same WiFi, how can I know what client is what?

17
Network / Multiple UDP Clients
« on: July 09, 2011, 04:46:32 pm »
Hmmm, but what id I'm gonna have 2 clients using the same WiFi -> same IP?

18
Network / Multiple UDP Clients
« on: July 09, 2011, 04:32:27 pm »
Hey,

So there is this code to listen to any UDP client, but is there a way to do Socket.Receive with an exact IP?


Thanks.

19
Network / Nagle-Like Problem
« on: July 07, 2011, 12:02:37 pm »
so I have this real-time game, with a C++ sever with using SFML library , and client using asyncsocket, also disables nagle. I'm sending 30 packets every 1 second. There is no problem sending from the client to the server, but when sending from the server to the clients, some of the packets are migrating. For example, if I'm sending "a" and "b" in completly different packets, the client reads it as "ab". It's happens just once a time, but it makes a real problem in the game.

So what should I do? How can I solve that? Maybe it's something in the server? Maybe OS settings?

To be clear: I AM NOT using nagle but I still have this problem.

20
Network / Making my C++ software work on Ubuntu Server
« on: June 07, 2011, 07:50:16 pm »
hmmm, how can i install the package itself?

Sorry for being dumb, that's the first time I'm working with Ubuntu...

21
Network / Making my C++ software work on Ubuntu Server
« on: June 07, 2011, 07:35:25 pm »
OK i formmated and started a clean one and did apt-get install libsfml and it:

root@myvps:~# apt-get install libsfml
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libsfml

22
Network / Making my C++ software work on Ubuntu Server
« on: June 01, 2011, 02:28:02 am »
Hey,

OK, so I've finished coding my C++ app on my PC, I wanna run it in my VPS. I have a clean Ubuntu VPS.

The problem is that hell, I don't have idea how to do that, I only know how to work with Windows and Mac. Never worked with servers or anything like that. I'm using MongoDB so I've installed it, then I've wrote:
apt-get build-dep libsfml
and it's all OK installed.

BUT, how can I download to there the SFML library? As you say in the tutorial: "Then, to actually compile the SFML libraries and samples, you must download and install the full SDK. Go to the SFML-x.y directory, and type the following commands:". How can I Go to the SFML-x.y if... I don't have it? Or maybe I do, I just don't know where?


Thanks!

23
Network / "Endless"-getting-messages problem
« on: June 01, 2011, 02:23:53 am »
OK I think I got that.. I'll try and if I'll have problems I'll notify here.

Thanks!

24
Network / "Endless"-getting-messages problem
« on: May 28, 2011, 08:34:11 pm »
If the size of the packet I send is not the same of the packet size received, just ignore the packet?

25
Network / "Endless"-getting-messages problem
« on: May 28, 2011, 12:28:34 am »
OK thanks! I will do it.
Just a question: if it's not fit just ignore the packet?

Thanks.

26
Network / "Endless"-getting-messages problem
« on: May 27, 2011, 06:37:49 pm »
I gotta say big thank for the help.

I'm not sure how to insert that explicit bounds thing. You mean like doing messages like:
first:3EW second:8wewe third:6464 fourth:445

and than in the other side just to check every time that the current (first, second, third, etc) is like that?

Thanks!!!

27
Network / "Endless"-getting-messages problem
« on: May 27, 2011, 06:20:54 pm »
I tested it and it seems to work.. All the clients using exactly the same platform... Also the client is not SFML so I can't really use it, can I?

28
Network / "Endless"-getting-messages problem
« on: May 27, 2011, 04:57:42 pm »
I've found the problem, it was because of nagle, so I disabled it in the client but now I have to disable it in the server also. (http://www.sfml-dev.org/forum/viewtopic.php?p=32128#32128)

29
Feature requests / Enable/Disable nagle algorithm
« on: May 27, 2011, 04:56:20 pm »
OK, so I right now only because of this I can't work with SFML:
so the server side only is SFML, the client is not and there I can disable nagle but I need it with the server also. The reason is that this server is for MMO game. And in my game, I'm sending 60 messages in 1 second to each client (60 FPS). And so it gives me a lot of troubles, I must disable nagle because it is much better for me.

Can you please explain me how to disable it? There's gotta be a way.
The thing is that I must disable it ASAP. I have a schedule that I must work with.


Thanks.

30
Feature requests / Enable/Disable nagle algorithm
« on: May 26, 2011, 12:02:35 am »
I need it.

Pages: 1 [2] 3 4