[Info-vax] A light WEB server in C

CY christery at gmail.com
Sat Jan 9 14:36:00 EST 2010


OK, thanks for the input, I'll  try sometihing like this comes monday

    bytes_recieved = recv(connected,recv_data,1024,0);
    recv_data[bytes_recieved] = '\0';
    close(connected);
    printf("\n RECIEVED DATA = %s " , recv_data);

And try both PUT and POST methods from the client to see what
happens...
Jut thought someone already had a solution.

Shure i could get a CGI working with wasd (at least I think I could,
does it like fortran programmers? you know a string is not a char
array terminated with '0' its a string), but I think for this test its
easier to get my RFO file (RDB/Fortran) executing against port 80 with
all other things untouched as I do this test in production environment
direct.
And yes I do need descriptors if linking C and F90 but thats old news.

Inventing the weheel is what it feels like, but I didnt find any good
VMS examples, or the I did but didnt understand that i stumbeld over
them, so tcptrace and test is the way to go...

//CY

//CY



More information about the Info-vax mailing list