Results 1 to 9 of 9

Thread: need idea with this

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    need idea with this

    hi, im currently stuck on a project i don't know what should i do

    i made a program that sends sms, my setup is a customized vb6 sms program and 1 cellphones.

    now, the system is running in my home and me is in the office, how i can send sms over the internet? using my system in my home?

  2. #2
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: need idea with this

    What you probably wanna setup is a client/server app.
    You can use Winsock on your home computer to listen on a specific port, and when it receives a mobile number from that port it will send an sms to it.

    Then on your work computer have a program that sends the mobile number to your home computer.

    For this to work, you will have to have your home computer on a static IP.

    If it isn't on a static IP then you will need to make your home computer check its IP address every few minutes and if it has changed then it must post the new IP onto a webserver, so that your work computer can connect to that webserver and read the IP address from there, and then send the mobile number to that IP address
    Last edited by shirazamod; Jul 27th, 2006 at 10:54 AM.
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: need idea with this

    Thanks

    its like an chat? over the ip address?

  4. #4
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: need idea with this

    Exactly!
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: need idea with this

    aha ok.. do you have any samples? i search from the psc but i can't find a good one

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: need idea with this

    by the way, is this possible my home is a sms server and i have a website example: www.homesmsserver.com if users visited my site they can send sms but over my home sms server

    ty


  7. #7
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: need idea with this

    You just need a simple function. Make the winsock control on your home server listen for connections on a certain port and when it receives data it must split it using something like Split(Data, "***") and then the first item in the array can be used as the cellphone number and the second item will be the message.

    The winsock control on your work computer will ask you for a cellphone number & message, and then it will seperate the two with "***" and then send this data to your home server.

    Yes you could make a PHP or ASP script that sends the cellphone number to your home server.
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: need idea with this

    @shirazamod

    hi,

    could you make simple winsock control code?

    thanks

  9. #9
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: need idea with this

    I've sent you a PM
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width