1 Replies - 308 Views - Last Post: 04 February 2012 - 03:03 PM Rate Topic: -----

Topic Sponsor:

#1 DanDv  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 10-December 11

Global Stream

Posted 04 February 2012 - 02:23 PM

Hi,
I want to do a LAN game in C#. For this I want a form which will begin a connection as a client, and a listener which will listen for impending connections.
My listener is on the main menu of the game. My problem is that I don't know how to access the stream that I got from the listener on other forms.
Is This A Good Question/Topic? 0
  • +

Replies To: Global Stream

#2 tlhIn`toq  Icon User is online

  • WillMyCodeWork = !FailedWhenYouTriedIt;
  • member icon

Reputation: 3291
  • View blog
  • Posts: 6,899
  • Joined: 02-June 10

Re: Global Stream

Posted 04 February 2012 - 03:03 PM

Quote

My listener is on the main menu of the game.


Huh? This really doesn't make sense.

Have you done any client/server code so far.. or ever?

See FAQ 6



TOP most asked:
What does this error message mean?
FAQ 2: How do I debug
FAQ 3: How do I make Form1 talk to Form2



FAQ (Frequently Asked Questions - Updated Jan 2012

Spoiler

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1