B
bob
Hi,
I have an ASP.net page that uses a dll to send a request via TCP
channel nnnn (TCPClient / XML Serialiser) to a Windows app.
The Windows app receives (TCPListener / TCPClient / XMLDeserialiser)
processes the request and sends back a response (TCPClient /
XMLSerialiser) via TCP channel yyyy back to the dll
(TCPListener/TCPClient/XMLDeserialiser).
Using the IIS on the development machine and having the windows app
running on the development machine it works fine.
I now want to move the web page across to the production server (Same
LAN)
I am unclear about what IPAddresses to set for the respective TCP
listeners and TCPclients
For the DLL I thought there would be no change because it is still
trying to send and listen to the development machine
For the app I thought I would need to put the local ip of the
webserver upon which the page & dll will be residing.
But when I try to run the app, at the Listener.start command, it
complains that the IP address is not valid in its context.
So I guess it comes down to my understanding (or lack there of) of
what the TCP components expect.
Do the Tx components (TcpClient/XMLSerialiser) expect the destination
address and the Rx components (TCPListener/TcpClient/XMLDeserialiser)
the local address?
or
Do they both expect the local address upon which they reside?
or
is my methodology flawed for what I am trying to achieve.
(Nooo I really don't want a quick to move to WCF if I can avoid it.
I know nothing about it.)
thanks
Bob
I have an ASP.net page that uses a dll to send a request via TCP
channel nnnn (TCPClient / XML Serialiser) to a Windows app.
The Windows app receives (TCPListener / TCPClient / XMLDeserialiser)
processes the request and sends back a response (TCPClient /
XMLSerialiser) via TCP channel yyyy back to the dll
(TCPListener/TCPClient/XMLDeserialiser).
Using the IIS on the development machine and having the windows app
running on the development machine it works fine.
I now want to move the web page across to the production server (Same
LAN)
I am unclear about what IPAddresses to set for the respective TCP
listeners and TCPclients
For the DLL I thought there would be no change because it is still
trying to send and listen to the development machine
For the app I thought I would need to put the local ip of the
webserver upon which the page & dll will be residing.
But when I try to run the app, at the Listener.start command, it
complains that the IP address is not valid in its context.
So I guess it comes down to my understanding (or lack there of) of
what the TCP components expect.
Do the Tx components (TcpClient/XMLSerialiser) expect the destination
address and the Rx components (TCPListener/TcpClient/XMLDeserialiser)
the local address?
or
Do they both expect the local address upon which they reside?
or
is my methodology flawed for what I am trying to achieve.
(Nooo I really don't want a quick to move to WCF if I can avoid it.
I know nothing about it.)
thanks
Bob