Alrighty, ur in the game you click a NPC, you click to buy an item. It then sends a packet to the server seeing if you have enough money an so on if you do it sends a packet back? Would that be correct? If not can someone help me?
Tauren -1 Junior Poster
Recommended Answers
Jump to PostYou're talking about network programming. You send packets through sockets in C, which allows you to setup a client-server interface. Here is a good tutorial on sockets.
Next time try googling around …
Jump to PostPerhaps there's not better place than to learn than from the creator of the language, that is, Bjarne Stroustrap.
Small correction, those are not written by Bjarne Stroustrup. Good books though.
All 5 Replies
John A 1,896 Vampirical Lurker Team Colleague
Lazaro Claiborn 1 Junior Poster
Tauren -1 Junior Poster
John A 1,896 Vampirical Lurker Team Colleague
WolfPack 491 Posting Virtuoso Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.