473,486 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

icmp in c#

hi there i have two questions

1)Is there a library class for ICMP packet
creation ,management etc to use with C#

2)I have created a socket of icmp type and after sending a
packet i call the socket.ReceiveFrom method.During the
execution of this method i want to have a time-out value
and if it exceeds the value to stop the execution i can't
wait for ever untill the server responds.Is such a thing
possible if yes how?

thank you

Fotis
Nov 15 '05 #1
1 5151
I suggest you try to query the user samples on gotdotnet.com
you may find some ICMP libraries.
-D

"Fotis" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
hi there i have two questions

1)Is there a library class for ICMP packet
creation ,management etc to use with C#

2)I have created a socket of icmp type and after sending a
packet i call the socket.ReceiveFrom method.During the
execution of this method i want to have a time-out value
and if it exceeds the value to stop the execution i can't
wait for ever untill the server responds.Is such a thing
possible if yes how?

thank you

Fotis

Nov 15 '05 #2

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

Similar topics

13
24005
by: Bob Rivers | last post by:
Hi, I was doing a research looking for Java solutions that are able to do "ping". I found old messages (and not so old ones), telling that Java was not able to do that, because the API...
0
2583
by: Andreas Pauley | last post by:
Hi, I'd like to generate my own icmp packets from within python. Typically this would include sending an ECHO_REQUEST and checking if I get an ECHO_REPLY back. But I would also like to...
0
1617
by: T.C.McQueen | last post by:
Does anyone know how to receive an ICMP-Router Advertisement Message using Raw/ICMP - Sockets in Multicast -Mode with .NET I tried it several times differently but it does not work I think it's...
0
1563
by: billiejoex | last post by:
Hi all. The source below is a simple icmp sniffer made with pcapy. To decode packets I'm using the EthDecoder() function that returns a rapresentation of the packet including ICMP type, ICMP code,...
1
2717
by: Arsen V. | last post by:
How to get Icmp messages to work with multiple threads. Currently I tried during ReceiveFrom and use Peek to get the fromEndPoint. If this is equals to the EndPoint that I used in SendTo, I do an...
0
7745
by: Ed | last post by:
I've attached some VB.NET code I've hacked together (some taken from MS examples & newsgroup postings) that will perform a ping or IcmpSendEcho using the icmp.dll (see this for more info:...
5
1659
by: Tom Anderson | last post by:
Hi all, This is a little function to compare two iterators: def icmp(a, b): for xa in a: try: xb = b.next()
0
1150
by: huzhangyou2002 | last post by:
If someone wants to ping me,I just want to set no icmp packet back,can anyone tells me how to?? very thanx~~~
0
3502
by: NeoIndigo | last post by:
Hi guys, It's my first time trying to create a packet in C++. So, what i have done so far are: 1. I have opened a packet level raw socket. Using this command: sd =...
0
7094
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
7173
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...
1
6839
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5427
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
4863
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
4559
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
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.