12-16-2010
sending http url through http socket programming..
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 descriptor ..
only the first message got hit in that recepient server ..
rest of the messages are not hitting in that server ..
i could'n trace the problem ...
But using my own sample server program with the same Client program i can hit that server ..
and i can view the messages in that sample server program..
am using only single socket descriptor to send multiple messages ..
i did'n close the descriptor..
since i want to send SMS continously..
i need some suggestions..
Moderator's Comments:
|
|
Double post, continued here
|
|
Last edited by pludi; 12-16-2010 at 04:55 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
What is the UNIX command to download a file or data from HTTP location.
CURL(Linux) did not work.
Thank You (4 Replies)
Discussion started by: skm123
4 Replies
2. Programming
Hello everyone, I am a newbie in UNIX/Linux socket programming. This is a class project that I had trouble with.
==================================================
I was trying to make “Keep-Alive” HTTP connections to the server in a tiny web crawler project. Here is the problem: when I tried... (0 Replies)
Discussion started by: imdupeng
0 Replies
3. Programming
I am trying to read HTTP data from a socket. However, for the final set of data being read using read(), read blocks and the control doesnt come back for further processing. I tried using select, but it didn't work...
Any help would be greatly acknowledged.:) (2 Replies)
Discussion started by: Harish.joshi
2 Replies
4. Programming
Hello everybody,
I learning socket programming in C and was wondering if anybody here could help me out.
I have two .c programs namely server.c and client.c .......
The client sends a message and the server in turn returns the value.
Basically I want to send in a request to a webserver... (24 Replies)
Discussion started by: kev_1234
24 Replies
5. Shell Programming and Scripting
I have to write a sed script which removes http and https from a URL. So if
a URL is https://www.example.com or Example Web Page, script should return me Example Web Page
i tried echo $url | sed 's|^http://||g'. It doesn't work. Please help (4 Replies)
Discussion started by: vickylife
4 Replies
6. Shell Programming and Scripting
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)
Discussion started by: senkerth
4 Replies
7. Web Development
Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies
8. Shell Programming and Scripting
Hello, I am attempting to use the HTTP/DAV module in perl, and I have a script that transfers files to a website. However, I get the following error message:
"Couldn't open https://www.thisismyurl.com/DAV:
The URL "https://www.thisismyurl.com/DAV" is not DAV enabled or not accessible."
... (0 Replies)
Discussion started by: Scatterbrain26
0 Replies
9. Shell Programming and Scripting
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
LEARN ABOUT DEBIAN
c-icap-client
c-icap-client(8) System Manager's Manual c-icap-client(8)
NAME
c-icap-client - simple ICAP client
SYNOPSIS
c-icap-client [ -i icap_servername ] [ -p port ] [ -s service ] [ -f input_file ] [ -o out_file ] [ -req url ] [ -d debug level ] [ -nore-
shdr ] [ -x icap-header ] [ -hx http-header ] [ -v ]
DESCRIPTION
c-icap-client is a simple ICAP client. It can be used to test your icap server configuration.
OPTIONS
-i icap_servername
The hostname of the icap server. The default is localhost
-p port
The server port. The default port value is 1344
-s service
The service name. The default service name is "echo"
-f filename
Send this file to the icap server. Default is to send an options request
-o filename
Save output to this file. Default is to send to stdout
-req url
Send a request modification instead of response modification, using as http url the url provided with this option.
-d level
debug level info to stdout
-noreshdr
Do not send reshdr headers
-x icap-header
Include the icap-header in icap request headers
-hx http-header
Include the http-header in http headers
-v Print response headers
SEE ALSO
c-icap(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8) c-icap-mkbdb(8)
BUGS
Many...
AUTHOR
Tsantilas Christos
c_icap 0.1.6 c-icap-client(8)