Socket question
-
I need someone to point me into a direction. I need to be able to accomplish the following ( request/response ): 1) send an xml document to an ip address and a specific port 2) listen for the response document also an XML document. Upon recieving the request document the connection is broken imediately. After the XML server is ready to return the reply document, a new connection is established using an address supplied with the orginal request. BTW I am new to sockets so please be patient with me. Things I need to do? 1) open socket to server and steam the xml request doc to the server. 2) Listen and capture the response document and write it to disk.
-
I need someone to point me into a direction. I need to be able to accomplish the following ( request/response ): 1) send an xml document to an ip address and a specific port 2) listen for the response document also an XML document. Upon recieving the request document the connection is broken imediately. After the XML server is ready to return the reply document, a new connection is established using an address supplied with the orginal request. BTW I am new to sockets so please be patient with me. Things I need to do? 1) open socket to server and steam the xml request doc to the server. 2) Listen and capture the response document and write it to disk.