473,480 Members | 4,282 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Reading Ports !

Good evening :

How can I know , when some Pc has connected to my pc through some port ?,
How can I identify what computer is ?? and what port is using ?

Thanks in advanced,


Nov 17 '05 #1
2 906
On Fri, 1 Jul 2005 17:09:05 -0700, German
<Ge****@discussions.microsoft.com> wrote:
Good evening :

How can I know , when some Pc has connected to my pc through some port ?,
How can I identify what computer is ?? and what port is using ?

Thanks in advanced,


Bring up a command prompt and type "netstat -a". This will list the
ports which are listening on you machine and also who is connected to
them.

Regards,

PJ Naughter

Naughter Software
Mail: pj**@naughter.com
Web: http://www.naughter.com
Hotmail/MSN Messenger: pj********@hotmail.com
Nov 17 '05 #2
On Fri, 1 Jul 2005 17:09:05 -0700, German
<Ge****@discussions.microsoft.com> wrote:
Good evening :

How can I know , when some Pc has connected to my pc through some port ?,
How can I identify what computer is ?? and what port is using ?

Thanks in advanced,


Bring up a command prompt and type "netstat -a". This will list the
ports which are listening on you machine and also who is connected to
them.

Regards,

PJ Naughter

Naughter Software
Mail: pj**@naughter.com
Web: http://www.naughter.com
Hotmail/MSN Messenger: pj********@hotmail.com
Nov 17 '05 #3

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

Similar topics

18
3459
by: shakeel-ur-rehman | last post by:
I am wrtiting programm in C++ to read/take complete image of the partiton. can any one let me know the internet resources and web sites having tutorials relating to this and tell any sequence ...
3
9308
by: andyI | last post by:
Where do I find information on how to address and pass data to and from the serial ports and USB ports in VB. VB6 supports the serial ports easily but I see no reference to using the USB ports....
1
2319
by: Friskusen | last post by:
Anybody know if there are any objects or libraries in VB.net that allow a programmer to catch and read network packets directly, before they are handled by the Windows TcpIp kernel.... I'm just...
1
10870
by: henrycortezwu | last post by:
Hi All, I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth Serial Port") using VS2005 System.IO.Ports. When I ran the ff code below here's what happens. 1) VS2005 Compiles w/o...
2
3936
by: joaquimfpinto | last post by:
Dear All, I made an app in c# that uses several serial ports. For the serial ports I use a pnp Sunix board, some with 8 serial ports other with 4 or even 2 serial ports. Whenever I use the...
8
37185
by: Ringo | last post by:
I have a micro controller that sends a stream of 102 bytes to the pc. The values range from 0 to 255. I set up my serialport like this sp.BaudRate = 115200; sp.PortName = "COM53"; sp.DataBits =...
6
11872
by: John Wright | last post by:
I am trying to read the data from a device on a serial port. I connect just fine and can receive data fine in text mode but not in binary mode. In text mode the data from the device comes in...
2
2864
by: Jassim Rahma | last post by:
I have a medical device which has an infrared and i want to know how can i read data from it using the infrared/
0
1033
by: atc769 | last post by:
I am working on barcode reading software. Runs ok, but reads at the most 8 characters at a time. How can I get it to read the entire barcode rather than in pieces? Here is a snippet of my code ...
0
7039
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
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7037
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
7080
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...
0
5326
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4770
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2992
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
176
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.