|
List Info
Thread: tcp connection webservice?
|
|
| tcp connection webservice? |

|
2006-09-06 14:40:41 |
|
I've not done much with it myself, but I imagine you'd need to use the System.Net.Sockets namespace. You can search on that to find a lot of stuff; here is one such article:
http://www.ondotnet.com/pub/a/dotnet/2002/10/21/sockets.htm
On 9/6/06, Michal Tesar <gmail.com">michal.tesar gmail.com> wrote:
Hi All,
I have few questions and I couldn't find anything good on google about this, if someone could point me to some direction, or give me any advice on this problem I have, I would really appriciate it.
I have to build a system, which will accept a request(structured xml) from another location, I then have to save some information from this request into my database, and pass the request on to another system (another location).
The third system (the one my application will pass the request on) has those specifications: The system features a simple single request dialogue. Using the connection-oriented feature of the TCP connection the system is able to detect if the response was successfully delivered to MySystem. In the event that the response is not successful 3rdSystem will perform a real-time roll-back of the reserved request.
Communication: I need to establish a TCP socket connection to the 3rdSystem to a designated PORT. The socket is closed after each Request/Response. Multiple connections can be running at the same time.
Security: The IP address and port number will be provided for each client. A VPN connection needs to be set up.
When I receive the response from the 3rdSystem, I will pass it on to the first client that is waiting for the response from the begenning.
I need to make the middle software, so I am thinking that I would implement the same thing the 3rdSystem has. And I would pass on the same requirements to the client, I need something very simple and fast.
I've got no idea how TCP protocol works, and if I should do this via a .net webservice, or how?
Please help!
Thank you, Mike
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com Need XML Advice? http://xmladvice.com
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com |
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|