hey,
i made a game on c++ using allegro now i want to make it multiplayer game means connect pair to pair connection with another pc and enjoy the game......how i develop this connection please help me
help me with code .......please help urgent
To implement what? Pipes? Sockets? ...?
You have first to understand what type of IPC would be the most suitable for your games. The we could probably try to find some code examples for you and help you with the problems with possible code errors.
And if you have no idea about networking then please, learn it, read about it, try some samples... or just give up!
Well, begin with the learning how to write properly so everyone here could read your posts. Please, use punctuation, small/capitl letter. Apply SpellCheker to your text before posting it.
Then read about IPC in MSDN. The link I already provided.
Are the two (or more?) pcs just connected to a local network in the same physical location or are they connected in different locations and will use the internet for connection?
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
If you are not familiar with the network programming, please, try out this library http://libunicomm.org. Maybe it would be helpful for you. This is the library we made and used in our projects. We decided to publish it as open source in hope it could be useful for anybody else.
Bookmarks