Hi,
I got the method of invoking a c executable code from the html.I tested
the invocation by writing a simple C
program that accepts two integers from the html page, multiplies them
and returns the result to the html page.
I have coded a program that uses sockets to communicate with the other
computer.
The OS used is Red Hat linux. When i call the executable file of this
program, the socket() function returns with an error. i.e the socket()
function call returns a negative value hence is unable to create
a socket.
However, when i execute the program on the command line in linux, the
program executes as expected and communicates with the other machine.
Please let me know as to how I can invoke the socket program using the
html interface.