473,394 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

PhysicalAddress From Endpoint

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
Dec 27 '06 #1
3 4303
Dan Holmes wrote:
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
Dec 27 '06 #2
Goran Sliskovic wrote:
Dan Holmes wrote:
>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
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
Dec 27 '06 #3
Dan Holmes wrote:
....
>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.
....

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
Dec 27 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Andy | last post by:
If I use Visual Studio.Net 2003 to generate "web references" for clients using either sproxy.exe (for C++) client or wsdl.exe (for C#) clients, the web service endpoint gets "baked" into the...
0
by: tovbinm | last post by:
I failed to make a Web Reference to SQL 2005 HTTP endpoint for stored procedure, It works fine only on locahost. Whan i surf or make a web reference in VS2005 to http://locahost/TestWS?wsdl - i...
1
by: mirandacascade | last post by:
Operating system: Win XP Is it possible that the endpoint url of: "http://66.28.98.121:9090/soap" that is provided for the SOAP example of calling GetQuote has changed or is no longer in...
2
by: Franck | last post by:
Hi, I'm tryin to run my first WCF services through tcp/ip and I'm unable to run svcutil against my service. I'm hosting my service inside a Windows Service successfully but do not succeed in...
0
by: ronscottlangham | last post by:
I have a WCF Web Service that I develop using the ASP.NET Development Server in Visual Studio. In release, the web service will support both HTTP and HTTPS. Initially I had only HTTP configured in...
0
by: rkprasad | last post by:
I am able to create BASIC-CLEAR-INTEGRATED sql http endpoint and consume it on a LAN. But i am not able to consume the created endpoint on inter domain network. If i create endpoint on a server...
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
8
by: Frank Hauptlorenz | last post by:
Hello out there, I changed an existing and good working webservice from an wsHttpBinding to an NetTcpBinding. This is working (after trying some time) and has real a better performance! But...
5
by: Max2006 | last post by:
Hi, I am trying to limit my wcf service endpoint to response to only given windows user or group. How can I do that? Is there any way to configure that in the .config file? Thank you, Max
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.