473,326 Members | 2,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Multiplayer game

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.
Can you tell me the .NET classes that would help me here.
Thanks,
Anuj

Jun 20 '06 #1
5 10268
Hi,

this is a fairly broad question, you will need to use a bunch of classes,
which one? depend of how you will implement the server (as well as the
clients).

You need to be more especific about where your problem is.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
<an************@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
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.
Can you tell me the .NET classes that would help me here.
Thanks,
Anuj

Jun 20 '06 #2
Ignacio Machin,
I aint the original asker, but can you help me get where to read about
ports as well as client server communications.
Obinna.
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

this is a fairly broad question, you will need to use a bunch of classes,
which one? depend of how you will implement the server (as well as the
clients).

You need to be more especific about where your problem is.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
<an************@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
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.
Can you tell me the .NET classes that would help me here.
Thanks,
Anuj


Jun 20 '06 #3
Here are a couple of links that should get you started on using sockets to
create a multiplayer game.

http://www.codeproject.com/cs/internet/sockets.asp
http://www.codeproject.com/cs/intern...g_and_play.asp

Michael Cummings
michaelc AT magenic DOT com
Magenic Technologies

<an************@gmail.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
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.
Can you tell me the .NET classes that would help me here.
Thanks,
Anuj

Jun 20 '06 #4
Thanks a trillion I've downloaded the code, I'll try it.

Jun 21 '06 #5

Most connection related stuff starts with the System.Net namespace then goes
deeper.

For normal use i wouldnt recommend implementing this namespace and its
classes directly but use the namespaces and classes it contains.
Jul 11 '06 #6

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

Similar topics

1
by: dondiego | last post by:
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:...
5
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...
0
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...
20
by: NeedJavaHelp | last post by:
Hello everyone, first time poster here, bear with me. RuneScape is an online multiplayer game run by Java www.runescape.com. The game itself is run on the website and when you play the game for...
0
by: Jeff Rush | last post by:
At PyCon this year we're going to have a multi-day game programming clinic and challenge. This is a first-time event and an experiment to find those in the Python community who enjoy playing and...
3
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...
2
by: LilMeechc20 | last post by:
Hello, I have a group assignment that I have to do. We have to write a Tic Tac Toe game. One person in my group has managed to write the code for a multiplayer (human -vs- human) game and I...
0
by: hini | last post by:
Hi all, I am considering creating a multiplayer card game to play with my friends over internet, and I want to do it in java, I am not pro in java so I read a little about sockets, serialization,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.