473,847 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10298
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.goo glegroups.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.goo glegroups.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.goo glegroups.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
2107
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: 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
5
3074
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...
0
1852
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
20
20375
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 the first time, its files store on your pc. I've never had a problem untill its makers switched to Java Se (SUN Java). Normally, when you move to a new location / area in this game it brings up these words loading-please wait... and within 2 seconds...
0
1849
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 creating games. Python has several powerful modules for the creation of games among which are PyGame and PyOpenGL. On Friday evening, Phil Hassey will give an introduction to his game Galcon, an awesome high-paced multi-player galactic...
3
3517
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
2
5323
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 managed to write a code for a single player (human -vs- computer) game. My problem is, now we want to merge the two games with options to pick which game you would like to play. However, the games were written totally different styles and I can't...
0
2778
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, RMI, servlets, EJB etc.. but I am still not sure what are the best technologies or architecture to use for communication between players and server. of course it will be client server architecture with an applet on the client for example and some...
0
9886
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
10983
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...
0
9482
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...
0
7056
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
5719
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
5911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4528
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
4119
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3164
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.