Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


newtechnology

Member Since 05 Nov 2013
Offline Last Active Feb 20 2015 02:03 AM

Topics I've Started

Receiving issue..

10 November 2014 - 01:58 AM

Hello! I've recently started learning network programming by simple programs. For now, I've made a simple console-based program which sends and receive some char* buffer. This is my issue : 
 
When I send the buffer like this from the server,  
 
//Without sleep function in between functions
SendMessageToClient(tempSock, "Test message\n"); //first message
SendMessageToClient(tempSock, "Another message!\n"); //second message
 
This is the output from client (i.e Second message does not get received) :
TeBvXsG.png
 
 
But when I send the buffer like this from the server,
 
//With sleep in between functions
SendMessageToClient(tempSock, "Test message\n"); //first message
Sleep(10);
SendMessageToClient(tempSock, "Another message!\n"); //second message
 
This is the output from client (i.e both messages are received):
t73oOch.png
 
 
Why there is a difference when I send the message to client from the server without sleep? (Message does not get received when sleep is not inserted between send functions.) 
 
Full Source code:
 

What is a lobby server?

30 October 2014 - 08:24 AM

I searched the internet but couldn't find a perfect answer. What are lobby servers? How are they different from general servers?

I want to start working on a small multiplayer fps game from scratch using C++ and DirectX 11. So, I want to start learning about networking (using winsock) for it. I cannot find any good resource for it. Isn't there a book or something similar which teaches networking (using winsock) to absolute network beginners?

'Box Shooting' - An Android FPS Game

04 September 2014 - 02:42 AM

Hello everyone! I am working on my second Android game. So before further working on it, I'd like to hear something from you (basically getting feedback).

 

Concept: There are several levels and you have to shoot boxes to proceed to next level. There are several types of boxes which can give you some special power or ability. The more boxes you shoot, the more is your score and you unlock several items. As soon as you reach at some required score, you reach next level.

 

I think you all can add your own elements here so that I can get some really good suggestions. Please share your ideas or improvements for this!

 

ZhP3WsP.png


What would you like to see in a level of endless running game?

23 August 2014 - 02:30 AM

I want to collect some feedback and suggestions before making the design of 3rd level of my game named 'You Run!'. You can view more info about the game here: http://www.gamedev.net/blog/1865/entry-2259968-you-run/

 

So, what you would like to see in a level of an endless running game? I'm currently making 3rd level for my game. So I want to get some suggestions from you before making the level. Should it have buildings? should it have grass on ground? should an AI character run behind the player? How the game should be? What type of scene it should have (nature, indoor etc.)?


will you buy this?

30 July 2014 - 03:43 AM

I am planning an library which handles all kind of hard work of loading and rendering stuff for models (will support animation as well) in directx 11 and if you don't want the library to render stuff (it could be because you are using opengl), then the library will give you all kind of data necessary for rendering. There will also be a short documentary plus a demo project showing how to use the library. The question is will you buy it? It'll be 8$ for each download (one time payment) and then you receive all updates for free.

PARTNERS