I want to use json for my networking protocol, and the json data is made up of some string and integer. Can I send the json by c socket ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Data is just data. Sockets are a mechanism to communicating. So you can send anything really. So long as the receiving end is aware of what is being sent and understands what to do with it.
It’s like a file, a file can store anything really.