Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a C++ Expert!

Join 244,284 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,016 people online right now. Registration is fast and FREE... Join Now!




tutorials about network game winsock programming in c++

 
Reply to this topicStart new topic

tutorials about network game winsock programming in c++

anumol123
6 Jan, 2009 - 08:12 AM
Post #1

New D.I.C Head
*

Joined: 6 Jan, 2009
Posts: 5



Thanked: 1 times
My Contributions
i am planning to do a project in c++ which is a network game using winsock programming.i need the tutorial about this topic as im a begginner in this area.

User is offlineProfile CardPM
+Quote Post


trixt.er
RE: Tutorials About Network Game Winsock Programming In C++
6 Jan, 2009 - 10:09 AM
Post #2

D.I.C Head
**

Joined: 28 Sep, 2008
Posts: 115



Thanked: 3 times
My Contributions
First off welcome to dreamincode. This is one of the worlds leading forums for programmers.
The windows socket works with packets trafficing through the internet. A lot of hackers get into this type of stuff. And actually a lot of worms and viruses will hijack the winsock. They sniff for passwords and other personal information. Is this necessary? I mean what kind of a game is this. One that you are going to program. Also how long have you been programming in C++? I'm not trying to pick on you but the basics are important. So let us know what you are trying to do, that way we can help you out. Also post some code or show an illustrative example of what you had in mind.

User is offlineProfile CardPM
+Quote Post

anumol123
RE: Tutorials About Network Game Winsock Programming In C++
7 Jan, 2009 - 03:59 AM
Post #3

New D.I.C Head
*

Joined: 6 Jan, 2009
Posts: 5



Thanked: 1 times
My Contributions
I am working with c++ around 3 years.But only concentrated the object oriented features.After studying the vast area of networking in java i am interested to do a simple network gaming using c++.It should be a multiplier game such that scores should be saved and hence a database is also a must.So i am planning database as mysql.Will you please suggest some good ebooks or tutorials.To which part of tutorial i have to go through first or is there any modification required from my opinion.I am new in the area of winsock pogramming,but know some basics of windows programming.
User is offlineProfile CardPM
+Quote Post

JackOfAllTrades
RE: Tutorials About Network Game Winsock Programming In C++
7 Jan, 2009 - 05:54 AM
Post #4

Cantankerous Old Fart
Group Icon

Joined: 23 Aug, 2008
Posts: 3,055



Thanked: 270 times
Dream Kudos: 50
Expert In: Nothing. Well, nothing relevant here anyway. ;)

My Contributions
Here you go
User is offlineProfile CardPM
+Quote Post

anumol123
RE: Tutorials About Network Game Winsock Programming In C++
12 Jan, 2009 - 09:41 AM
Post #5

New D.I.C Head
*

Joined: 6 Jan, 2009
Posts: 5



Thanked: 1 times
My Contributions
sir,
Whether turbo c++ is enough to run winsock.h files and windows.h,or visual c++ is required to run such files?
what is the command to run and compile in c++ or visual c++?
whether any sample connection code between client and server available for reference
User is offlineProfile CardPM
+Quote Post

anumol123
RE: Tutorials About Network Game Winsock Programming In C++
19 Jan, 2009 - 09:23 PM
Post #6

New D.I.C Head
*

Joined: 6 Jan, 2009
Posts: 5



Thanked: 1 times
My Contributions
i am sending my project code attached with this mail.will you please give me the proceedings for compiling and running the program in visual c++?



Attached File(s)
Attached File  3drace.zip ( 839.3k ) Number of downloads: 77
User is offlineProfile CardPM
+Quote Post

anumol123
RE: Tutorials About Network Game Winsock Programming In C++
27 Jan, 2009 - 09:26 AM
Post #7

New D.I.C Head
*

Joined: 6 Jan, 2009
Posts: 5



Thanked: 1 times
My Contributions
i got the way of running the code.just the project file should be double clicked.but some of the headers are missing.the compiler is not taking it.
thanks for all the cooperation from dreamcode.

User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 7/4/09 02:59PM

Live C++ Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month