Good god..no wonder why I have been avoid perl all my life!!!  :)

I can only assume you would need to directly connect to that port and
send the data down the wire.   W3Sockets.....?  (or winsock in vb done
by yourself -COM)




-----Original Message-----
From: Sam Thompson [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 24, 2002 1:50 AM
To: ActiveServerPages
Subject: Re: Passing XML data to server application


TCP.

It came with a usage example written in Perl, I need to do something
like this using ASP:

# Connect to the Client application
exit &ErrorMessage("Main() - Unable to connect to host $opt_h on port
$opt_h - $!", "a", $VERBOSE)  unless $socket=IO::Socket::INET->new(
Proto=>"tcp", PeerAddr=>$opt_h, PeerPort=>$opt_P,
Timeout=>$timeoutLimit);

# Attempt to send transaction message to the Client application exit
&ErrorMessage("Main() - Unable to send XML message to host $opt_h on
port $opt_h - $!", "a", $VERBOSE)  unless send $socket, $xmlMessage, 0;

Any ideas?

Thanks

Sam thompson


----- Original Message -----
From: "Robert Chartier" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 9:47 AM
Subject: RE: Passing XML data to server application


>
> What "type" of listener is it?  It using any standard protocol? (HTTP,

> FTP, etc..)
>
>
>
>
> -----Original Message-----
> From: Sam Thompson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 1:05 AM
> To: ActiveServerPages
> Subject: Passing XML data to server application
>
>
> Hi guys,
>
> I have to use ASP to generate some XML and pass it to an application 
> which runs on the same server. The application listens on port 15001, 
> when it receives the XML it processes it and returns a response code 
> which I have to process and display back to the user via a webpage.
>
> Any ideas how I can communicate with the application? Should I be 
> using something like XMLHTTP or maybe W3Sockets from Dimac?
>
> Any help and advice would be greatly appriecated!
>
> Cheers
>
> Sam Thompson
>
>
>
> ---
> You are currently subscribed to activeserverpages as: 
> [EMAIL PROTECTED] To unsubscribe send a blank email to 
> %%email.unsub%%
>
>
> ---
> You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>


---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED] To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to