PhysicalAddress From Endpoint

D

Dan Holmes

How can i get a PhysicalAddress object if i only have an EndPoint object ?

I have an app that is a terminal emulator (vt100). When the telnet app
connects i want to get the MAC of the terminal. I can get the
terminal's IP with the RemoteEndPoint object of the TcpClient.Socket.


Dan
 
G

Goran Sliskovic

Dan said:
How can i get a PhysicalAddress object if i only have an EndPoint object ?

I have an app that is a terminal emulator (vt100). When the telnet app
connects i want to get the MAC of the terminal. I can get the
terminal's IP with the RemoteEndPoint object of the TcpClient.Socket.


Dan

Generally you can't. MAC address is not transferred over TCP/IP
protocol. You could however find out MAC address if request originated
from LAN by issuing ARP request or executing 'arp -a' from command
prompt. Why would you need it? MAC address is something that is of local
arae network significance only.

Regards,
Goran
 
D

Dan Holmes

Goran said:
Generally you can't. MAC address is not transferred over TCP/IP
protocol. You could however find out MAC address if request originated
from LAN by issuing ARP request or executing 'arp -a' from command
prompt. Why would you need it? MAC address is something that is of local
arae network significance only.

Regards,
Goran
It is the best (that i know of) value for uniquely identifing a PC based
terminal (i don't know about WYSE type terminals but the intended
audience won't have those) in the emulation space. The IP could change
if DHCP is used and there isn't another value that is retrievable in the
VT100 emulation commands.

dan
 
G

Goran Sliskovic

Dan Holmes wrote:
....
It is the best (that i know of) value for uniquely identifing a PC based
terminal (i don't know about WYSE type terminals but the intended
audience won't have those) in the emulation space. The IP could change
if DHCP is used and there isn't another value that is retrievable in the
VT100 emulation commands.
....

That's because terminals work at the (low) level of data representation
(keystrokes, screen formatting etc). It's up to the upper layers to
provide identification (consumers of protocol).

Regards,
Goran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top