Click here to Skip to main content
15,889,833 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to send text to a Computer that I have its Mac Address, Over the internet...
So any Help?
Posted

You can't.
MAC addresses are not broadcast over the internet, nor are they used for addressing over the internet. They are used to identify equipment within a network up to the router (or other LAN / WiFi controller) and are converted to IP addresses by the DHCP controller. THe IP address is used from that point on (and may not leave the local area either: your LAN IP address is not the same as your Internet IP address)
 
Share this answer
 
Comments
Hadi Ayash 18-Oct-13 12:06pm    
Then how can I send text to another computer over the internet besides using a website? Is there any way?
OriginalGriff 18-Oct-13 12:12pm    
Only if it has a fixed IP address (or you have established a session of some form with it). Even then, there is a lot of reading involved - have a quick google and you'll see what I mean.

MSDN do have a sample peer-to-peer chat app though:
http://msdn.microsoft.com/en-us/library/bb690929%28VS.90%29.aspx

It's pretty simple via a website or web service though, I'd have thought.

Hadi Ayash 18-Oct-13 12:22pm    
So what is the fastest way send a text? By the way, you said "If it has a fixed IP address" isnt the external IP address fixed?! If it is a website, I don't want to spend my time learning asp.net right now... So do you know a website I can use.
You help will be appreciated,
Thanks in advance.
:)
OriginalGriff 18-Oct-13 14:01pm    
"isnt the external IP address fixed?"
Good grief no!
A "fixed" IP address is called a Static Address, and most hosting services charge you extra for that! If you connect at home, go to http://www.myipaddress.com and make a note of the numbers. Turn your modem off, and back on again to "break" the ADSL connection, then go there again. You will almost certainly get a different address.

Sending Texts is a different subject altogether - but Google for "SMS message C#" and you should find what you want.
Also, MAC addresses are NOT unique. They must be unique inside a network segment, but there can be multiple identical MACs all over the network. There is no way to uniquely identify a machine over the internet with a MAC address.

I think you're going to have to study up computer networking and TCP/IP, routing, the OSI model, ... to understand how this stuff works before writing network specific applications.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900