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
Printable View
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
If it is for Windows then have a look at Interprocess Communications (IPC)
can you help me to implement this because i hve no about networking...
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!
i dnt want to give up thiz ,,i want to learn thiz please help to do this
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. :cool:
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?
sir , i want to connect this by different location through internet using ip(server client) just like counter strike game
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.