Originally posted by: Steve Hu
Very very good.
ReplyOriginally posted by: SANJAY SAMUEL
hi Abdur,
I was going through your code and I found it to be very good. Abdur I have an query. suppose I run your exe in some part of the world and want to connect to some machine present in some other part of the world present behind the proxy.(THE SERVER PULIC IP IS KNOWN TO ME). what i exactly want is to run an exe present in the proxy remotely using your exe. Is it possible . Please send me this query.If you can help me with the code I would be very very greatful to you.
Thank You.
.........For the nice code sent.........
Yours
Sanjay Samuel
Reply
Originally posted by: venkatesh
hi,
this is really a wonderful class. I was searching for this type of class since a week ..
thank you
venki
Originally posted by: Anderl
I made the experience, that the class like it is does not work for all servers.
Some server need to receive the HTTP Request within one send.
So just do not send each line. Store the Request in a string variable and then send the command at once.
This should work.
Anderl
ReplyOriginally posted by: tom skaria
sir,
i am studying for MCA and i am doing a http server project as
part of partial fulfillment of my carriculam.
i have implemented the GET and POST methods.
now i wanted to do HEAD,PUT and DELETE methods.
the method which i completed(GET and POST)in very simple as u see.
here i am describing my completed portion.
1.i writtern a tcp socket program and the client is Lynx or Internet
explorer.
2.in that socket pgm i called a fuction to parse the name and
passoword.but in my project the parsing is only possible for a
name and a password which i given the name and password in the
program itself.eg:strcmp(tname,"tom")==0 &&(tpassword,"tom1")....like that
Here the problem is,it is not checking the name and password more
than one person.so as to get more database,what i have to do for the
creation of a database?
so,how i can create a database in C ,is there any way to connect
ODBC or ACCESS to this C program?
3.my second doubt is how to implement the HEAD,PUT and DELETE methods.i have
no idea of that.is it requre any HTML page that support these Methods?
if u need further more about my programm .ask me.
so sir please advice me for this problem.
so u mail me to the id:tomskaria@rediffmail.com
from
tom
Originally posted by: tom skaria
sir,
i am studying for MCA and i am doing a http server project as
part of partial fulfillment of my carriculam.
i have implemented the GET and POST methods.
now i wanted to do HEAD,PUT and DELETE methods.
the method which i completed(GET and POST)in very simple as u see.
here i am describing my completed portion.
1.i writtern a tcp socket program and the client is Lynx or Internet
explorer.
2.in that socket pgm i called a fuction to parse the name and
passoword.but in my project the parsing is only possible for a
name and a password which i given the name and password in the
program itself.eg:strcmp(tname,"tom")==0 &&(tpassword,"tom1")....like that
Here the problem is,it is not checking the name and password more
than one person.so as to get more database,what i have to do for the
creation of a database?
so,how i can create a database in C ,is there any way to connect
ODBC or ACCESS to this C program?
3.my second doubt is how to implement the HEAD,PUT and DELETE methods.i have
no idea of that.is it requre any HTML page that support these Methods?
if u need further more about my programm .ask me.
so sir please advice me for this problem.
so u mail me to the id:tomskaria@rediffmail.com
from
tom
Originally posted by: tom skaria
sir,
i am studying for MCA and i am doing a http server project as
part of partial fulfillment of my carriculam.
i have implemented the GET and POST methods.
now i wanted to do HEAD,PUT and DELETE methods.
the method which i completed(GET and POST)in very simple as u see.
here i am describing my completed portion.
1.i writtern a tcp socket program and the client is Lynx or Internet
explorer.
2.in that socket pgm i called a fuction to parse the name and
passoword.but in my project the parsing is only possible for a
name and a password which i given the name and password in the
program itself.eg:strcmp(tname,"tom")==0 &&(tpassword,"tom1")....like that
Here the problem is,it is not checking the name and password more
than one person.so as to get more database,what i have to do for the
creation of a database?
so,how i can create a database in C ,is there any way to connect
ODBC or ACCESS to this C program?
3.my second doubt is how to implement the HEAD,PUT and DELETE methods.i have
no idea of that.is it requre any HTML page that support these Methods?
if u need further more about my programm .ask me.
so sir please advice me for this problem.
so u mail me to the id:tomskaria@rediffmail.com
from
tom
Originally posted by: Grace
my URL is something like:
http://XYZ.com/cgi-bin/ho/hey/MyCGI.cgi?A=0&B=8&C=0&D=0
Seems like A=0&B=8&C=0&D=0 are ignored
If I typed the whole URL on the browser, it works!
HELP~~~~~
Originally posted by: oliviersax
When i test this program with an URL from my intranet (without the proxy), it works very well !!!
What can be wrong ?
Thanks !
I am trying this wonderfull program from behind my proxy server but it does not work :
dts.exe /URL www.altavista.com /PRX proxy.cv.com /PRT 3128
The server response is :
<html>
<head>
<title>Error</title>
</head>
<body>
The parameter is incorrect.
</body>
</html>
Originally posted by: sheeba
I was trying to use your dts executable to fetch a web page. When I run your executable on the command line I am getting the source code of the requested web page. How would I be able to activate my browser to view the page?
Also I want to sent some assets from C++ via http to my java server, how would it be possible for file tranfer up and down via http? I mean C++ to Java.
Any help would be appraciated.
Hi,
Also,
I applied the command as
dts /URL <url>
I have a web server running on my localhost at port 8080, but when I give
dts /URL http://localost /PRT 8080 I am getting error
"Error: 1, 10060 Error when connect"
May I know why it happens so?
Thanks
Sheeba