HTTP server

HTTP server SearchSearch
Author Message
raghu
New member
Username: Ragp12

Post Number: 6
Registered: 11-2006
Posted on Tuesday, January 30, 2007 - 04:56 am:   

hi all,
i am implementing HTTP server using C, till persistant connection coding has been done ,next i need to implement pipelining so can anyone tell the logic how to implement pipelining in the HTTP server.
reply anyone plz
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 147
Registered: 12-2006
Posted on Wednesday, January 31, 2007 - 09:10 pm:   

Hi,

This is the support forum for the Now SMS/MMS Gateway product.

I can help answer questions that you might have about NowSMS. But I can't help you with programming questions related to creating an HTTP server.

I suppose I could explain a little bit about what HTTP pipelining is though.

The HTTP protocol has a request/reply paradigm. An HTTP client opens a connection to an HTTP server ... it submits a request and waits for the server to reply.

If the server supports persistent (keep-alive) connections, then after the reply is received, the client can send another request over the same connection. (If keep-alive connections are not supported, then the client must open a new connection to the server in order to submit another request.)

Pipelining means the client can submit multiple requests before receiving a complete reply to the initial request from the server. The server is still expected to reply to all of the submitted requests, and if any errors occur, the client may need to establish a new connection and resend requests for which it did not receive a response.

But sorry, I can't offer any advice as to how to implement this logic in your HTTP server implementation.

--
Malcolm
Now Wireless Support
SIE JEAN CHARIE
New member
Username: Siejc

Post Number: 2
Registered: 02-2007
Posted on Wednesday, February 28, 2007 - 01:50 pm:   

Hi please

I have configure an CONNECTION TO a SMSC over HTTP with nowsms

I need to give the URL so that the SMSC forward me the sms coming from mobile phone

THANK YOU FOR YOUR HELP
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6948
Registered: 10-2002
Posted on Wednesday, March 07, 2007 - 08:26 pm:   

Hi,

Currently we do not have an option that allows for messages posted via HTTP to be treated as "received" (a.k.a., "incoming") messages.

At least there is not support to have messages received via HTTP routed to the "2-way" command facility.

There is support, however, to have messages received via HTTP to be routed to a local user account so that they could be retieved via SMPP. This uses the standard NowSMS URL format, but with an added parameter "&LocalUser=xxxx", where "xxxx" is an account defined under "SMS Users". Messages submitted via HTTP with this parameter get routed to USERS\xxxx\Q instead of the normal outbound message processing (and if an SMPP client is connected using that user account, these messages would be delivered by NowSMS to that client).

The standard HTTP URL formats for NowSMS are described in the following links:

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm
http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

Perhaps you could explain what you want NowSMS to do with the "incoming" messages that arrive via HTTP? Are you looking to route them to the "2-way" command facility?

-bn
SIE JEAN CHARIE
New member
Username: Siejc

Post Number: 3
Registered: 02-2007
Posted on Thursday, March 08, 2007 - 12:03 pm:   

Hi Sir,
i have received an URL from a GSM operator that i have successfully configured into NOWSMS in order to send to him our sms.
Now this GSM operator wants me to communicate to him, my URL that he will use to send to me sms.
Hope to have been clear. Can you pls tell me what is the URL that i have to communicate to him. I only use NowSms for receiving/sending messages.}
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6980
Registered: 10-2002
Posted on Monday, March 12, 2007 - 09:48 pm:   

Hi,

As I stated above, we do not have an option that allows for messages to be received via HTTP and treated as "received" (a.k.a., "incoming") messages.

Can you explain what you want to do with the messages that you are to receive from this provider? I assume it is one of the following, but I need to understand to advise:

1.) Process received SMS message with 2-way command script.

2.) Route received SMS message to a user account for pickup via SMPP client.