Ok, a few questions on fstream with C++ and winsock
1. Is it possible to search all the tagged lines that say Item I.D. for a specific value that is a variable such as CharacterItemID is 108 than search all the tagged lines that say Item I.D. for 108 and read the data.
2. Also is it possible to specifically send a variable such as a string or integer with sockets open on the client and the server from the client to the server and the server will know to put it in a specific variable on its own or does sockets not work that way. I mean how does a server know what to do when it receives an integer variable of 8 from a client. Can you make it so it knows when receiving certain data to store it in certain variables. Sorry if a little confusing.
All help is appreciated.