[Migrated content. Thread originally posted on 29 January 2008]
We have an application program that uses C$SOCKET to create instant messages to other users. And, this application works very well.I also have a web order entry application that is running on a separate machine and I am accessing my data on the regular application server via AcuServer.
My situation/problem is that I am running the web application on the webserver and it is executing using the configuration file and runtime on the webserver, but via Acuserver is running a program on the application server to create a sales order. This works fine. Once the order is created, I wanted to have the program send a message using the instant messaging program we have to notify users that a new web order has been placed. It calls the program successfully, it appears to successfully call the C$SOCKET to create a socket, write to the socket, but when we try to read from the socket to see if the message was successful, we are getting a return value of HTTP/1.1 . And, of course the message does not actually get sent. Something in the C$SOCKETS appears to not work correctly when used in this environment -- or I need to configure the web server differently, or my program that handles the socket routines needs to do something differently.
It is a complicated scenario, but if I could understand how the HTTP/1.1 is getting into the socket messages -- that might help me figure out where this whole thing is falling apart.
Has anyone else used sockets in an environment that include a web/cgi application?
TIA,
Rebekah



