|
-
Jul 27th, 2006, 09:38 AM
#1
Thread Starter
Fanatic Member
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?
-
Jul 27th, 2006, 10:51 AM
#2
Fanatic Member
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.
-
Jul 27th, 2006, 08:44 PM
#3
Thread Starter
Fanatic Member
Re: need idea with this
Thanks
its like an chat? over the ip address?
-
Jul 28th, 2006, 01:35 AM
#4
Fanatic Member
-
Jul 28th, 2006, 01:49 AM
#5
Thread Starter
Fanatic Member
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
-
Jul 28th, 2006, 02:18 AM
#6
Thread Starter
Fanatic Member
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
-
Jul 28th, 2006, 03:45 AM
#7
Fanatic Member
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.
-
Jul 28th, 2006, 04:13 AM
#8
Thread Starter
Fanatic Member
Re: need idea with this
@shirazamod
hi,
could you make simple winsock control code?
thanks
-
Jul 28th, 2006, 04:22 AM
#9
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|