Server - Socket to receive XML messages

Noah Aas 985 Reputation points
2025-04-23T15:16:05.58+00:00

I'm looking for a good server in a dialog-based MFC application that will send me a request.

Does anyone know a good example? The request comes from the client based on the event.

The server sends the response or timeout within 20 seconds.

Like this.

<ROOT>
  <book id="bk101">   
      <author>Gambardella, Matthew</author>
      <title>XML Developer's Guide</title>       
      <Computer attri1="Test" attri2="6.4Eur" />
      <price>44.95</price> 
      <publish_date>2000-10-01</publish_date> 
   </book>
</ROOT>

The server must read until the message is complete.
<ROOT> .... </ROOT>

Request from Client to Server

Response Server to Client.

good or bad result.

<ROOT>  
   <Result good="false"/>
</ROOT>

<ROOT>
  <Result good="true" Percent="100"/>
</ROOT>

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,912 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 74,851 Reputation points
    2025-04-23T16:41:07.68+00:00

0 additional answers

Sort by: Most helpful

Your answer