473,792 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multiplayer: possible with http?

Hello Everybody

Im going to develop a multiplayer game. I will use a servlet and an applet
on the client side. I see two possible ways to mantain the contact between
the clients and the server:

By an http connection
By a not-http connection, eg sockets

I think that the big disadvantage in using a connection that relies on http
is that the application, on both sides but principally on the sever, becomes
very complex. However the advantage with this approach is that you dont need
to have your own server to set up the multiplayer platform.

It would be much easier to program a server that is a standalone java
aplication listening on some port, or a servlet even this listening on a
port. But here the problem is that you need total access to the server,
which is much more expensive.

Does anyone have any suggestion about this problem? If there is another way,
maybe? Or if its actually too complex to develop a multiplayer without
docket programming? Or maybe that the http approach isnt so bad? Thanks in
advance.

Paolo
Jul 17 '05 #1
1 2102
Bear in mind the one problem you're going to be having is real-time data
over HTTP. Because HTTP is a request-response protocol by default, your
client will be required to continually request data from the server -
the server won't be able to PUSH data to the client.

This may or may not be an issue for you. I just now that a few years
back when I worked on a real-time stock market trading system, the lag
for users on dial-up made the system very slow, and ultimately useless
in a real-time context.


dondiego wrote:
Hello Everybody

Im going to develop a multiplayer game. I will use a servlet and an applet
on the client side. I see two possible ways to mantain the contact between
the clients and the server:

By an http connection
By a not-http connection, eg sockets

I think that the big disadvantage in using a connection that relies on http
is that the application, on both sides but principally on the sever, becomes
very complex. However the advantage with this approach is that you dont need
to have your own server to set up the multiplayer platform.

It would be much easier to program a server that is a standalone java
aplication listening on some port, or a servlet even this listening on a
port. But here the problem is that you need total access to the server,
which is much more expensive.

Does anyone have any suggestion about this problem? If there is another way,
maybe? Or if its actually too complex to develop a multiplayer without
docket programming? Or maybe that the http approach isnt so bad? Thanks in
advance.

Paolo

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2567
by: Tlo | last post by:
hello, i would like to do the following, and as i had never used python in a network framework i would like to have opinions on this : i would like to provide some kind of network quizz game, each player logged in and can then join 'playing rooms', in each rooms they had to answers many quizz-like questions, after a game finished each players involved in it are ranked from their corrects answers and the time they spent to answer....
5
3069
by: Lt | last post by:
Hello, I'm gonna write my first 3D multiplayer game using DirectPlay, VC++ ..NET 2002. I've done tutorials supplied along with DXSDK Then I wanted to use the DirectX AppWizard but it produced over 2300 lines of code! It's cool to have prepared automatically all initializations but it's a little too much. That's because I can't find any documentation on details HOW IT WORKS, how I can integrate my own game code with this framework. In...
5
10296
by: anujmathurhere | last post by:
Hi, I am developing a simple multiplayer game in VS 2005 using C#. Each player would have an individual copy of the game running, which would connect to a server. The app running on the server would continuously listen on a specific port for the players and when the two players are connected, the server would transmit information from one player to the other.
0
986
by: andrei.zavidei | last post by:
Hi guys, Well, here is my humble contribution to the community: http://sourceforge.net/projects/erocket I started that project to learn Python and wxWindows. By all means, I am no Python Guru, but maybe someone could find something useful. Also please consider that it is under development and is far from being
0
1850
by: maxime_phan | last post by:
hello we would like to make you discover a new and free multiplayer game platform: GameLAN. All game are made with pygame, we have 3 multiplayer games now (Tetris like game, Heroic fantaisy tactic game and gomoku game). We invite you on the 22th of October at 4pm (Paris Time) to discover this platform.So get ready to play and see you on sunday on our GameLAN games servers! website: http://www.gamelan-project.com
14
2047
by: DavidNorep | last post by:
I do not know PHP, consider to write a CGI with this technology and have the following question. Is it possible to invoke a PHP script and let it endlessly wait for requests from a website (a Java applet in my case) and serve the requests when they arrive? I want to avoid loading the script for each request. In other words, can it function, in this sense, like a Java servlet?
0
1314
by: carlwuhwdmckay | last post by:
cod4 multiplayer crack http://cracks.00bp.com F R E E
0
1359
by: carlwuhwdmckay | last post by:
call of duty 4 crack multiplayer http://cracks.00bp.com F R E E
3
3515
by: George Oliver | last post by:
I'm looking for a framework to support a 2D online real-time multiplayer game (rugby league football with a lo-fi pixel look). The GameProgramming page at the Python wiki had some suggestions but so far nothing looks that promising, does anyone have some recommendations? It would be ideal to play this through a web browser but I don't know if that's practical. This aspect of programming is pretty new to me so I'm not sure if I
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9033
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.