How to invoke activx/DLL that can create HTTPS posting wait reply type of applicaitons
Posted on 2006-06-10
I have need to write an applicaitons that will runs on my 2003 NT servers. that will communicate with another external web site. that accept https posting a commnad string... (following their format), then it will respond a message (in certain format).
The requirement of my program will
1. run continusously in the OS (no users interfaces).
2. it listen to request from a MSMQ, when there is a request. it will
a. format the request into a string.
b. Open the winsocket with given IP address of remote web site,
(I hope I use the right terms here)
c. write the request string/message to that port.
d. wait for response from remote web site.
d-1. if no response within x seconds (time out), it will drop the
socket connect. do something else.
d-2. get response. drop the socket connection, return the message to
requestor to MS-message queue.
repeat step 2. until a new request read with "stop". it will then quiet.
This is very similar to 3 tier applications. I just wondering
1. What tools, or sample code that you knows that support this type of situations?
2. IS vb6 better or vb.net better to use
I also know this type of things can be done in the ASP, but that require users
presence. My requiredment does not need User presense.
I am looking for your input and advise. sample code with example will be very helpful.