473,386 Members | 1,803 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,386 software developers and data experts.

Watching my Packet TCP and UDP

Hi, What's best way for Watching my Packet TCP and UDP ? Socket ? Some
external DLL ? What I need to use for build programs like this?
I want measure data on specific or anyone port at Real Time.
Thanks
Jun 12 '06 #1
4 1654
using ASP.NET?

you can't! due to security issues you do not have access to any client
device (printers, com port's, lan port's, etc)

you can do than only if using an ActiveX component to build a lan port
bridge between client lan port and your application.

still, you can perform this using Window forms under vb.net / C#

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Dusan Micuch" <te**@icp.sk> escreveu na mensagem
news:uZ**************@TK2MSFTNGP03.phx.gbl...
Hi, What's best way for Watching my Packet TCP and UDP ? Socket ? Some
external DLL ? What I need to use for build programs like this?
I want measure data on specific or anyone port at Real Time.
Thanks

Jun 12 '06 #2
I meaned under Window forms of course. I understand that Web aplication
haven't permision to client device as u wrote.yes I wanna something like
that with ActiveX, but now i know too few of that:)
I'm wrong better news for me is maybe .dotnet.Csharp
sorry
"Bruno Alexandre" <br*********@gmail.com> pí¹e v diskusním pøíspìvku
news:%2***************@TK2MSFTNGP05.phx.gbl...
using ASP.NET?

you can't! due to security issues you do not have access to any client
device (printers, com port's, lan port's, etc)

you can do than only if using an ActiveX component to build a lan port
bridge between client lan port and your application.

still, you can perform this using Window forms under vb.net / C#

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Dusan Micuch" <te**@icp.sk> escreveu na mensagem
news:uZ**************@TK2MSFTNGP03.phx.gbl...
Hi, What's best way for Watching my Packet TCP and UDP ? Socket ? Some
external DLL ? What I need to use for build programs like this?
I want measure data on specific or anyone port at Real Time.
Thanks


Jun 12 '06 #3
so... you are in the wrong forum :-)

check:
microsoft.public.dotnet.framework
microsoft.public.dotnet.framework.windowsforms

microsoft.public.dotnet.framework.* <--- it has a lot
--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Dusan Micuch" <te**@icp.sk> escreveu na mensagem
news:es**************@TK2MSFTNGP02.phx.gbl...
I meaned under Window forms of course. I understand that Web aplication
haven't permision to client device as u wrote.yes I wanna something like
that with ActiveX, but now i know too few of that:)
I'm wrong better news for me is maybe .dotnet.Csharp
sorry
"Bruno Alexandre" <br*********@gmail.com> pí¹e v diskusním pøíspìvku
news:%2***************@TK2MSFTNGP05.phx.gbl...
using ASP.NET?

you can't! due to security issues you do not have access to any client
device (printers, com port's, lan port's, etc)

you can do than only if using an ActiveX component to build a lan port
bridge between client lan port and your application.

still, you can perform this using Window forms under vb.net / C#

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"Dusan Micuch" <te**@icp.sk> escreveu na mensagem
news:uZ**************@TK2MSFTNGP03.phx.gbl...
Hi, What's best way for Watching my Packet TCP and UDP ? Socket ? Some
external DLL ? What I need to use for build programs like this?
I want measure data on specific or anyone port at Real Time.
Thanks



Jun 12 '06 #4
what you are looking for is called "packet sniffing". there is no support in
..net for this, as it requires hooking into the tcp stack, and need to be
written in C/C++. google for this you you will find many toolkits.

-- bruce (sqlwork.com)
"Dusan Micuch" <te**@icp.sk> wrote in message
news:uZ**************@TK2MSFTNGP03.phx.gbl...
Hi, What's best way for Watching my Packet TCP and UDP ? Socket ? Some
external DLL ? What I need to use for build programs like this?
I want measure data on specific or anyone port at Real Time.
Thanks

Jun 12 '06 #5

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

Similar topics

4
by: QQ | last post by:
Hello I am a newbie on network programming. I am trying to receive a packet if((numbytes = recvfrom(udp_fd1, buf, MAXLEN-1, 0,(struct sockaddr*)&register_addr, &addr_len))==-1){ fprintf(stderr,...
2
by: bobrics | last post by:
Hi, I would like to create a packet for a RAW socket transfer. Please let me know if this is the right approach. 1. First, I am creating a header structure where I store all the information I...
10
by: PH | last post by:
Hi guys! I need to get the remote EndPoint from when I receive packets when listening in a local port in my computer. I'm using UDP (connection-less) so I only bind the socket to my...
7
by: owolablo | last post by:
Hi, I'm writing a program that sends 1500 bytes of data at once, from the client to the server. However, the packet is broken down into 3 different segments of 500 each before getting to the...
1
by: visal | last post by:
hi Please help me.i am developing a java pgm to capture network packets using jpcap.i downloded jpcap and wpcap dll files. My pgm is: import jpcap.JpcapHandler; import jpcap.Jpcap; import...
3
by: nexus024 | last post by:
I am trying to write a program that will continuously sniff eth0 for a specific UDP packet thats being sent to a specific destination IP, alter the data of the packet, and finally transmit it to the...
1
by: sangith | last post by:
Hi, I tried the packet capture module program. I did a file transfer using ftp from this host to another server. But when I ran the program, it was just hanging off and it did not print the...
1
by: AngreGanon | last post by:
Hi all~ I've written a network program in C. This program catputures ARP request packet and reply wrong ARP packet. Hi. I've written a small program to learn to write in C. But unfortunately...
4
by: Zytan | last post by:
This may be the dumbest question of all time, but... When I set the packet size, does it mean ALL packets are that size, no matter what? Let's say the packet size is 8KB, and I send a 5 byte...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.