Sending and Receiving data between Client, HTTP Proxy, and Remote Server
I am having problems receiving data from a remote server. It seems that I can send an HTTP request to any host such as http://www.google.com, but I can't get a reply.
I'm sending the host a HTTP 1.0 request that is formatted as such:
hi dear i m very new to socket programing .
i need the source code which sends file from server to client .
i mean both server n client programe which sends file .
can u do this for me please
my email id is email id removed
regards bilal (1 Reply)
I have been toying with a Proxy client/server app that will listen on the CLIENT system on lets say port 7070. User's browser proxy setting is configured for "localhost" port "7070".
When this proxy app gets a request for a URL it should FETCH the URL and display it on the browser.
I... (1 Reply)
Hi,
Not sure if this is possible, I have a server (SERVER1) that is currently set up as a remote SSH host. My client SSH host (SERVER2) is connecting to SERVER1 to scp a file with no password.
I now have a need to set up a third server (SERVER3) as a remote SSH host and I need SERVER1 as a... (4 Replies)
I'm looking for a couple high level pointers to writing a UDP server that will be acknowledging data at a rate of approximately twelve packets every second and will be running on and older but more or less dedicated Solaris 9 box.
Acknowledging the data packets is relatively simple, after... (2 Replies)
Hi I have managed to connect to a remote server via ssh, but nothing will actually send through to the remote server screen through my script...it waits until i am back to the main terminal before it outputs anything.
Can anyone tell me how to get commands to send through to the remote server?... (4 Replies)
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
Simple Http Proxy Server Checker Script with curl
mirror proxies-scripts/proxc at master * Anoncheg1/proxies-scripts * GitHub
output in terminal
HTTP, HTTP Connect (HTTPS not supported)
command line:
proxc filename
where filename is file like
119.110.69.185:8080
119.235.16.41:8080... (4 Replies)
I need to do some remote administration to an access point that is sitting behind a firewall that only has ssh enable from the outside but http/https from the inside. So to be a bit clearer:
remote(outside firewall) ssh --> ssh-server(internal) --> access point(http/https)
Ultimately... (3 Replies)
Discussion started by: metallica1973
3 Replies
LEARN ABOUT SUSE
tnm::http
http(n) Tnm Tcl Extension http(n)
__________________________________________________________________________________________________________________________________________________NAME
http - Send and process HTTP requests.
_________________________________________________________________DESCRIPTION
The Hypertext Transfer Protocol (HTTP) (RFC 1945) is a client/server protocol used to retrieve documents in the World Wide Web. Documents
are addressed using Uniform Resource Locators (URL) (RFC 1738). The http command allows to implement HTTP clients and a simple HTTP server.
HTTP COMMAND
The following list of http commands is useful for HTTP clients:
http proxy [url]
The http proxy command allows to define a proxy HTTP server which will be used in subsequent client commands. Using this command
without an url argument will return the URL to the currently used proxy or an empty string. Providing a url argument sets the proxy
server. Setting the proxy to an empty string turns the proxy feature off.
http head url
The http head command retrieves the HTTP header for the document located at url. The header is returned as a list of keys and values
which can be converted into a Tcl array using the array set command.
http get url fileName
The http get command retrieves the document located at url. The body of the document is written to the file named fileName. The com-
mand returns the HTTP header as described for the http head command above.
http post url docFileName fileName
The http post command posts the document in docFileName to the location url. The body of the returned document is written to the
file named fileName. The command returns the HTTP header as described for the http head command above.
http put url docFileName
The http put command puts the document in docFileName to the location url. The command returns the HTTP header as described for the
http head command above.
http delete url
The http delete command deletes the document at the location defined by url. The command returns HTTP status information.
The following set of http commands is useful for a simple HTTP server:
http server [port]
The http server command starts a simple HTTP server listening on port port. If called without a port argument, the currently used
port number or an empty string is returned. An empty string indicates that no server is currently active.
http mime type extension
The http mime command is used to add mime type definitions to the internal table which maps file name extension to mime types. If
called without an argument, the list of all mime type mappings is returned. A new mapping is created by supplying a mime type and
the file name extension.
http bind pattern method [script]
The http bind command binds a Tcl script to the invocation of a HTTP method where the URL matches pattern. Whenever a HTTP request
of type method is received that matches the pattern, script is evaluated. The return value of the script must be a name of a file
which will be send back to the client. Errors during the evaluation of the script will result in an error response.
The following % sequences are substituted before a script bound to a URL is evaluated:
%A The network address of the client.
%P The URL path requested by the client.
%S The search path contained in the URL path.
SEE ALSO scotty(1), Tnm(n), Tcl(n)
AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm http(n)