473,800 Members | 2,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web multi player game

Hi to all.
I'm developing a web multi player game.
The game will run on the server, and the clients will just show it.
All the clients will have few events, by which they can change the game
progress.
I'm thinking of building the server in C#, and use IIS for communication.
The client will be a flash application.
So the clients will periodically send sync requests and events to the
server.
I'm wondering if there is a better way, considering fire wall limitations.
Please let me know what you think.
Articles URL or reference to another group are also welcomed.
Thanks,
Sharon.
Nov 16 '05 #1
7 1840
If firewalls are your biggest worry, HTTP on port 80 is the most
firewall friendly approach you can take.

--
Scott
http://www.OdeToCode.com
On Sat, 10 Jul 2004 00:27:25 +0200, "Sharon Tal"
<ta*******@hotm ail.com> wrote:
Hi to all.
I'm developing a web multi player game.
The game will run on the server, and the clients will just show it.
All the clients will have few events, by which they can change the game
progress.
I'm thinking of building the server in C#, and use IIS for communication.
The client will be a flash application.
So the clients will periodically send sync requests and events to the
server.
I'm wondering if there is a better way, considering fire wall limitations.
Please let me know what you think.
Articles URL or reference to another group are also welcomed.
Thanks,
Sharon.


Nov 16 '05 #2
Yes, the app must be firewall friendly
as some corporate clients don't even have access
to their firewall config.
But, can a client act as a server (listen on port)
and still be firewall friendly?
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:nn******** *************** *********@4ax.c om...
If firewalls are your biggest worry, HTTP on port 80 is the most
firewall friendly approach you can take.

--
Scott
http://www.OdeToCode.com
On Sat, 10 Jul 2004 00:27:25 +0200, "Sharon Tal"
<ta*******@hotm ail.com> wrote:
Hi to all.
I'm developing a web multi player game.
The game will run on the server, and the clients will just show it.
All the clients will have few events, by which they can change the game
progress.
I'm thinking of building the server in C#, and use IIS for communication.
The client will be a flash application.
So the clients will periodically send sync requests and events to the
server.
I'm wondering if there is a better way, considering fire wall limitations.Please let me know what you think.
Articles URL or reference to another group are also welcomed.
Thanks,
Sharon.

Nov 16 '05 #3
imma say flash would be your best bet, and as far as i know, you can script
in action scripting to do your networking etc. using php/mysql or whatever
you choose. I don't really see your purpose in using c# unless it's as easy
as using php in flash.
"Sharon Tal" <ta*******@hotm ail.com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Hi to all.
I'm developing a web multi player game.
The game will run on the server, and the clients will just show it.
All the clients will have few events, by which they can change the game
progress.
I'm thinking of building the server in C#, and use IIS for communication.
The client will be a flash application.
So the clients will periodically send sync requests and events to the
server.
I'm wondering if there is a better way, considering fire wall limitations.
Please let me know what you think.
Articles URL or reference to another group are also welcomed.
Thanks,
Sharon.

Nov 16 '05 #4
I never used php, only java and c#.
I don't think i can use the client (flash) as a server cause that
will not work well with firewalls.
So my solution is to let the client only request for game changes.
The problem is that the game is real time, and many requests to the web
server
could make it unreliable.

"news.cableone. net" <ph******@comca st.net> wrote in message
news:10******** *****@corp.supe rnews.com...
imma say flash would be your best bet, and as far as i know, you can script in action scripting to do your networking etc. using php/mysql or whatever you choose. I don't really see your purpose in using c# unless it's as easy as using php in flash.
"Sharon Tal" <ta*******@hotm ail.com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Hi to all.
I'm developing a web multi player game.
The game will run on the server, and the clients will just show it.
All the clients will have few events, by which they can change the game
progress.
I'm thinking of building the server in C#, and use IIS for communication. The client will be a flash application.
So the clients will periodically send sync requests and events to the
server.
I'm wondering if there is a better way, considering fire wall limitations. Please let me know what you think.
Articles URL or reference to another group are also welcomed.
Thanks,
Sharon.


Nov 16 '05 #5
Most corporate firewalls will not allow a user to listen on any port to
traffic originating from the open internet... so, to answer your question,
don't count on that one.

--- N

"Sharon Tal" <ta*******@hotm ail.com> wrote in message
news:O1******** *****@TK2MSFTNG P12.phx.gbl...
Yes, the app must be firewall friendly
as some corporate clients don't even have access
to their firewall config.
But, can a client act as a server (listen on port)
and still be firewall friendly?
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:nn******** *************** *********@4ax.c om...
If firewalls are your biggest worry, HTTP on port 80 is the most
firewall friendly approach you can take.

--
Scott
http://www.OdeToCode.com
On Sat, 10 Jul 2004 00:27:25 +0200, "Sharon Tal"
<ta*******@hotm ail.com> wrote:
Hi to all.
I'm developing a web multi player game.
The game will run on the server, and the clients will just show it.
All the clients will have few events, by which they can change the game
progress.
I'm thinking of building the server in C#, and use IIS for communication.The client will be a flash application.
So the clients will periodically send sync requests and events to the
server.
I'm wondering if there is a better way, considering fire wall limitations.Please let me know what you think.
Articles URL or reference to another group are also welcomed.
Thanks,
Sharon.


Nov 16 '05 #6
No, that wouldn't work in most firewall environments. You'll have to
have the client poll the server periodically.

--s

On Sat, 10 Jul 2004 12:29:48 +0200, "Sharon Tal"
<ta*******@hotm ail.com> wrote:
Yes, the app must be firewall friendly
as some corporate clients don't even have access
to their firewall config.
But, can a client act as a server (listen on port)
and still be firewall friendly?


--
Scott
http://www.OdeToCode.com
Nov 16 '05 #7
Will a dedicated server have an advantage over IIS?
Thanks again.

"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:ir******** *************** *********@4ax.c om...
No, that wouldn't work in most firewall environments. You'll have to
have the client poll the server periodically.

--s

On Sat, 10 Jul 2004 12:29:48 +0200, "Sharon Tal"
<ta*******@hotm ail.com> wrote:
Yes, the app must be firewall friendly
as some corporate clients don't even have access
to their firewall config.
But, can a client act as a server (listen on port)
and still be firewall friendly?


--
Scott
http://www.OdeToCode.com

Nov 16 '05 #8

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

Similar topics

1
3081
by: Choubey | last post by:
hi, wanna want to know how can i develop j2me two player game by using gprs in which both players play symultaneosly.i develop a two player game by using bluetooth in which both player can play at a time. like a car race game for a two player. Is it possible to develop such kind of game using GPRS and J2EE server. plz help me.
5
2420
by: Alex Li | last post by:
Hi all, I would like to create a quiz show game for play in a party. The physical setup would probably be a big screen where everyone (players and host) can see, which shows a question, and a multiple choice of answer. The player, with a client computer and keyboard in front, will press a key to pick an answer. The client program, will then send the player's choice through the wire to the server program. The server program will...
15
4498
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do computations, the only data transfered is user mouse/kbd input. It works synchronously, but somehow, when I play in client window, both client and server have 17 fps, while when playing in server window, server has 44 fps while client ...
4
3768
by: Michael D Murphy | last post by:
Hi, I need to use Windows Meadia Player control in my application to run som mpeg movies. There is no user interface, I need to control everything programatically. I do not want to use the playlist facility of the Windows Media Player Control, I want to queue up the files to play myself. In order to do that I need to know when the current file has been played and the player has stopped. I am looking at multi-threading as a solution, but...
1
1719
by: Choronzon | last post by:
I have a player table, which is made up of fields: id SERIAL NOTNULL AUTO_INCREMENT (this is the primary key, auto increment so each player is assigned a unique key) player VARCHAR (just a text player name) player_id VARCHAR(text matching the players in-game number)
9
7836
by: raylopez99 | last post by:
What's the best way of implementing a multi-node tree in C++? What I'm trying to do is traverse a tree of possible chess moves given an intial position (at the root of the tree). Since every chess position has around 30 moves, it would mean every node of the tree would have 30 branches (on average), which in turn themselves would average about 30 branches each. I can think of a variety of ways of implementing this, including a series...
0
954
by: denisdoherty | last post by:
I have to design the game battleships, I have some of it coded but i am stuck on kicking the player off the game. I have a record of all the players that have connected to the game throught the server. they are all just usign guess accounts what i mean is that they can be kicked off and then log straight back in with the same name. I have a listbox called lst_playersconnected where all the players that are connected to the game will appear...
0
1582
by: perdoname | last post by:
Hello, I urgently need help, im trying to complete a class which will be able of multiple - clients but is not doing the required puprose. Can anyone be assistance of what is needed to add for handling the clients ?? Thanks in advance!! import java.util.ArrayList;
7
1768
by: CodecSmash49 | last post by:
I am working on a game kind of like chess but with only 1 piece per a player. In the beginning they pick there stats(movement, HP, damage, and range of weapons). 10 pts to put where ever they like ranging from 1-6 per a stat When hit hp is reduced by damage done. So i supose a for loop would be good for that as well Weapons is how much +damage the weapons do it is a 10 x 10 grid that i will use ascii. Yet I dont really get how you...
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
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
10504
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10251
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
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
9085
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
7576
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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

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.