Ok, now I am getting really lost with all the different things with client-server architecture. I know the basics and stuff but I was originally going to use ODBC to have my C++ program connect to my SQL server but than I started reading about sockets and winsock and I am not quite sure how they fit into it all. I mean if you have a server in C++ and a client in C++ and they create their sockets on a UDP connection, how does the client request data and different things from another C++ program, I mean its not like you can just go and use an SQL query. Is there a query language for winsock or am I on the wrong path here. I think I got screwed up between two different things. Basically I need to know how can a C++ program query for data to another C++ program, besides the connection details, like how does it get specific data if you know what I mean.
Jump to Post
winsock is just the windows API to the sockets transport layer.
Like the envelope you use for traditional mail has nothing to do with the letter you write, which is inside the envelope.
As for the client/server bit, the query "language" can be anything you like, so long as …
Jump to Post
I've no idea, what kind of database does your MMORPG have?
> SQL Database with ODBC connection from client
> Winsock to establish connection between a client program and a server program.
They're the same thing, with a different level of abstraction.
- send request to server
All 5 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.