Thread: WIN32 Chess server

  1. #1
    Registered User
    Join Date
    Aug 2005

    Cool WIN32 Chess server

    I am building a Chess Game which will reside on a server and waits for to player to connect and play chess.I have developed the prototype.this prototype has the following capabilities :

    *you can move the characters
    *it can check whether a move is valid or invalid

    Problem 1-

    I need guidence in how to proceed further.i need help especially in networking part

    Problem 2-
    How can I run a chess server and 2 clients(for testing purpose)
    on the same PC?

  2. #2
    Registered User
    Join Date
    Aug 2005
    Pasadena, CA
    You can try Virtual PC from Microsoft which allows you to do networking in a single computer between virtual PCs. It is great for software testing since you can install several operating systems in the same computer running in their own private virtual machine space.

    As to helping you with the networking code, it would help if you have any specific question. Asking a very general question to help you out will not give you any responses.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Or use the networking forum here.

    I don't see a need for a virtual PC for this problem - two clients should be able to connect to a given port on

    > How can I run a chess server and 2 clients(for testing purpose)
    Start with a server which merely prints the requests, eg
    - request to move pawn from A4 to A5
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Yeah, it should. When I was making a LAN messaging program it worked for me. Just make sure to, when initializing your socket, tell it to accept 2 connections, no more no less. Unless you want the person running the server to be able to play.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. server client application - (i really need your help)
    By sarahnetworking in forum C Programming
    Replies: 3
    Last Post: 03-01-2008, 10:54 PM
  2. Server Architecture
    By coder8137 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-29-2008, 11:21 PM
  3. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 08:04 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM