Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to send a xml data through the tcp port to the server and read the response.

Sample xml

XML
<TRX_MESSAGES>
<MESSAGE>
<MESSAGE_GROUP_ID>icard</MESSAGE_GROUP_ID>
<MESSAGE_ID>internet</MESSAGE_ID>
<AUX_NO></AUX_NO> <!-- TERMINAL_ID+YYYYMMDDhhmmss -->
<CRD_NO>8</CRD_NO>
<TRANSMISSION_DATE_TIME>0924110419</TRANSMISSION_DATE_TIME> <!-- MMDDhhmmss -->
<TRACE_NO>316455</TRACE_NO> <!-- 6 Didit seq number -->
<EXPIRY_DATE>1710</EXPIRY_DATE> <!-- yymm -->
<POS_ENTRY_MODE>012</POS_ENTRY_MODE>
<POS_CONDITION_CODE>59</POS_CONDITION_CODE>
<POS_CAPTURE_CODE>12</POS_CAPTURE_CODE>
<RETRIEVAL_REF_NUMBER></RETRIEVAL_REF_NUMBER> <!-- yddd+hh+TRACE_NO : 12 Digit -->
</MESSAGE>
</TRX_MESSAGES>
Posted
Comments
Jeddi khan 25-Mar-15 3:23am    
What should we do for you?Have you tried something?if YES,show us first
Soft009 25-Mar-15 3:39am    
I search in the web. but couldn't find proper solution. That's why I ask in the form. If I tried something I always include it in the question.
Richard MacCutchan 25-Mar-15 4:17am    
Just send it. What is the problem?

1 solution

Use this library from another CodeProject user.

A full library for a Socket Client/Server system
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900