Jump to content
  • Advertisement
Sign in to follow this  
thecoast47

Noob Question

This topic is 2558 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Okay, what i want to do is create a server socket application on my computer and leave my computer on and treat it like a server, while the clients-socket applications (running on other computers over the net) connect to the server on my desktop computer. So is this doable or what?
I haven't had much experience with network programming in general and i was wondering if my idea is feasible for a simple 2D game i'm making.

[EDIT]
Also the game is written in C++/SDL/OPENGL.
The physics textures and lighting is done but the GUI is not complete.
I also tried to integrate the game with lua half way through development but it found it difficult so i scrapped the lua integration, is lua important for a game like this?

Share this post


Link to post
Share on other sites
Advertisement
It is possible.

Lua is not required. Having a scripting language in your game can be useful, for speeding up development or opening the game up to the modding community. It is an investment in time, so its utility must be balanced with practicality.

Share this post


Link to post
Share on other sites

Okay, what i want to do is create a server socket application on my computer and leave my computer on and treat it like a server, while the clients-socket applications (running on other computers over the net) connect to the server on my desktop computer. So is this doable or what?


It is possible. You will need to set up port forwarding on your router for it to be visible from the outside internet.
There are some more pointers in the FAQ to various pros and cons of various server set-ups (including the "server in your closet" and "your machine as a server" options).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!