Thread: Connecting to SMS server

  1. #1
    Registered User
    Join Date
    Nov 2013
    Posts
    7

    Connecting to SMS server

    Hi all,

    I'm currently in the middle of designing a program for some project. one part of the program is to send reminding SMS messages to the employees.

    I have already subscribed to a SMS provider and they gave me an access to a control panel (aspx). But now I'm wondering how will I be able connect to the SMS server and be able to send messages?

    So if you give me tips on where to start that would be appreciated.

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Don't spam your question to multiple forums. Pick a form based on the language you will use. If you're not sure, post in a general forum like Tech Board.

    Note, neither C nor C++ have a built-in "SMS" library. You will have to check with your SMS provider to see if they have some sort of web service, REST API or whatever, for you to programmatically use their service. Then you will need to do some basic network programming to open a connection to their service and communicate with it.

    That's about all we can help you with, unless you give us more details and post some code.

    Note, also posted here: Connecting to SMS server.

  3. #3
    Registered User
    Join Date
    Nov 2013
    Posts
    7
    "We"? who are you to talk about other members?
    I posted the topic in C and C++ forums because I use both languages. What's wrong with that?

    About the web service I mentioned that the provider uses aspx (ASP.net). This is all the details I can provide.

    Thanks.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    And here, as well as here.

    Spend less time spamming, more time reading documentation.

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Inno CX View Post
    I posted the topic in C and C++ forums because I use both languages. What's wrong with that?
    double (or more) and cross posting are against the rules, regardless of how many languages you use. I suggest you read them. your attitude is not conducive to receiving help on this forum. I suggest you adjust it as well.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  6. #6
    Registered User
    Join Date
    Nov 2013
    Posts
    7
    Quote Originally Posted by rags_to_riches View Post
    And here, as well as here.

    Spend less time spamming, more time reading documentation.
    Are you stalking me? How about you go spend time minding your own business?

  7. #7
    Registered User
    Join Date
    Nov 2013
    Posts
    7
    Quote Originally Posted by Elkvis View Post
    double (or more) and cross posting are against the rules, regardless of how many languages you use. I suggest you read them. your attitude is not conducive to receiving help on this forum. I suggest you adjust it as well.
    Which rules? You grandmother's? I checked the rules and there is no rule not allowing posting a question in 2 forums.

    I don't know if this is too hard for you to understand. If you don't want to help, just leave me alone.

  8. #8
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Quote Originally Posted by Inno CX View Post
    Which rules? You grandmother's? I checked the rules and there is no rule not allowing posting a question in 2 forums.

    I don't know if this is too hard for you to understand. If you don't want to help, just leave me alone.
    Read it again:
    Quote Originally Posted by The Rules
    3. Please follow the forum structure when posting. Post threads on the board best suited for the topic. Please do not cross post (i.e. post the same question on multiple boards). Do not bump threads. (Bumping: Posting messages on threads to move them up the list or to post on a thread that has been inactive for two weeks or longer).
    The purpose is so that if I wanted to help you (this is becoming less likely) I don't waste my time giving you advice that someone else has already given you yesterday on another forum (whether it worked or not). Also many of the regulars here are regulars over there, so yes they will have read your post four times.

    In any event, as was mentioned over on those other places, your SMS company has given you an API so use it. There's nothing more we can tell you since we don't know what that API is.

  9. #9
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Quote Originally Posted by Inno CX View Post
    "We"? who are you to talk about other members?
    I'm anduril462 dammit! Who the f*** are you?

    After 3 years on this board, I know most of the regulars (who are responsible for 90%+ of the really good advice you might get on this forum if you play your cards right -- which is looking unlikely) well enough to know that they would probably give you a similar "we need more info" answer. It's not that we "wont" or "don't want to"; I wouldn't deign to assume what other forum members think or want. Your problem is simply very underspecified. Nobody could help you much, without more details. It's like going to the doctor and saying "I have a pain in my gut", and expecting him/her to give you an accurate diagnosis without any follow up info (asking you questions, doing tests, etc), all of which require more from you. We're smart and good at what we do, but that is programming, not mind-reading.
    Quote Originally Posted by Inno CX View Post
    I posted the topic in C and C++ forums because I use both languages. What's wrong with that?
    As noted by others, it violates the rules. That's all the answer you should need, but I'll give you more reasons, free of charge. First, this question has nothing to do with C or C++, so in both cases, you posted in the wrong place. Second, if you don't even know what language to use, you're probably not at the point in the project where you should be looking for programming help in language-specific forums. Hence my recommendation to use a more general sub-forum here like Tech Board. Get more general help about how to structure this project overall. Tell us what languages you know and are considering using, ask for recommendations on what libraries others have used, if anybody has experience with different providers, etc.

    Quote Originally Posted by Inno CX View Post
    About the web service I mentioned that the provider uses aspx (ASP.net). This is all the details I can provide.
    Why is that all you can provide? You can't name this provider? Give us a link to their website where one of us could help you find the info you need? What do you mean "they use aspx"? Do you mean their website was written in ASP.net (you saw that in the navigation bar of your browser) or their end of the web service was written in ASP.net? Neither of those has anything to do with how you write your program. The point of web services like SOAP and REST (which are not mutually exclusive with ASP) is that they provide a universal way to access remote services. Or maybe you saw that this provider has an ASP.net library for the client side? That changes things greatly. That would strongly suggest you use ASP.net or some other .NET language for your project. Note how totally different those two ways of interpreting your statement are, and there may be yet other ways.

    And you really need to check your attitude. Instead of taking my comment as a personal attack, realize that I bluntly, but fairly (and in no way condescendingly), called you out on a rule violation and lack of info, while still trying to give you what little helpful info I could (i.e. looking at their site for REST, API, etc) given the lack of details. The same goes for rags_to_riches' and Elkvis' comments. It is you who came to us for help. You joined our forum, and our community, so you get to play by our (honestly, quite fair) rules. If you don't like them, you don't have to be here. But, when you signed up for an account, you were instructed to read and abide by the rules, which you agreed to. You broke that agreement in your first post. Also note, we help people for free, in our spare time. This board has a pretty good track record of giving timely, high quality advice, so a smidgen of humility on your part wouldn't hurt. If you plan on using forums much in the future, I strongly recommend reading this: How To Ask Questions The Smart Way.

  10. #10
    Registered User
    Join Date
    Nov 2013
    Posts
    7
    Quote Originally Posted by tabstop View Post
    Read it again:

    The purpose is so that if I wanted to help you (this is becoming less likely)
    Like I'm dying waiting for you to help me LOL. I don't want your help. Just get out of my life.

    I don't waste my time giving you advice that someone else has already given you yesterday on another forum (whether it worked or not)
    Mr. Time-Saver Why are you wasting your time right now?

  11. #11
    Registered User
    Join Date
    Nov 2013
    Posts
    7
    After 3 years on this board, I know most of the regulars (who are responsible for 90%+ of the really good advice you might get on this forum if you play your cards right -- which is looking unlikely)
    I'll take my chances with the other 10%.
    I appreciate your long comment and all. But Seriously, don't act like you are running this community.

    And if you really think that I broke the rules, please feel free to notify a moderator. Just leave me alone.

  12. #12
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Sigh, it is painful to read threads like this. Anyway...

    Quote Originally Posted by Inno CX
    I posted the topic in C and C++ forums because I use both languages. What's wrong with that?
    It is against the forum guidelines to post the same question in multiple places in this forum community. If you really are using both languages and require the same information for both of them (e.g., you will pick the language that better caters to your problem), then that would be an exception, but it would be wise to mention that and the reason why in the initial post otherwise it looks like you are just using a blind shotgun approach.

    It isn't actually against the forum guidelines to post the same question in other forum communities. However, it is against the norms of netiquette to do so simultaneously, especially if you don't let everyone know where they should check to see if the question has already been answered satisfactorily. You can refer to a link in my signature to read up on how to ask questions the smart way.

    Quote Originally Posted by Inno CX
    About the web service I mentioned that the provider uses aspx (ASP.net). This is all the details I can provide.
    That means that you're on your own since without details, you won't get detailed help. The advice from post #2 applies:
    Quote Originally Posted by anduril462
    You will have to check with your SMS provider to see if they have some sort of web service, REST API or whatever, for you to programmatically use their service. Then you will need to do some basic network programming to open a connection to their service and communicate with it.
    Since no further help is feasible, the only thing left in this thread is to bicker about your cross posting in other online communities, so I shall close the thread.

    If you find that you still need help and are able to furnish more details, feel free to start a new thread with your question in exactly one forum here. If you do so, kindly do not post the question in other forum communities unless the help you get here proves inadequate, in which case you should post to another forum community while mentioning your thread here.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Connecting to SMS server
    By Inno CX in forum C++ Programming
    Replies: 1
    Last Post: 11-11-2013, 05:34 PM
  2. connecting to ftp server (winsock2)
    By commissar in forum C++ Programming
    Replies: 1
    Last Post: 03-03-2005, 10:22 AM
  3. Connecting to Server
    By osal in forum Networking/Device Communication
    Replies: 58
    Last Post: 06-10-2004, 10:10 AM