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 PostAre you using *nix or Windows. For Linux you can basically learn off the manual documentation (i.e man 7 socket). For Windows socket programming I recommend referrencing the Microsoft's website http://msdn2.microsoft.com/en-us/library/ms740673.aspx it'll provide …
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.