Tutorial: Visual C Create a application to send a ping signal Tutorial
in this tutorial i will teach you how you can make a application that will send a ping signal to another computer.
Tutorial Details:
in this tutorial i will teach you how you can make a application that will send a ping signal to another computer.
Language: C# .net v2.0
start of my creating a windows application project.
now create one button(cmdPing)
double click on the button so you will create a event for it.
now the code we will use is quite simple so i hope you understand it, if not just ask in the forums and i will explain it more thurowly.
Ping fd = new Ping();
PingOptions options = new PingOptions();
PingReply reply;
options.DontFragment = true;
// Create a buffer of 32 bytes of data to be transmitted.
string data = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
byte[] buffer = Encoding.ASCII.GetBytes(data);
int timeout = 120;
reply = fd.Send("google.com", timeout, buffer, options);
MessageBox.Show("Address: " + reply.Address.ToString() + "\r\n"
+"RoundTrip time: " + reply.RoundtripTime + "\r\n"
+"Time to live: " + reply.Options.Ttl + "\r\n"
+"Don\'t fragment: " + reply.Options.DontFragment + "\r\n"
+"Buffer size: " + reply.Buffer.Length + "\r\n");
If you want to take a look at the source, just download the attachment.
Hope this sums it up!!
The J2EE 1.4 Tutorial
The J2EE 1.4 Tutorial is a guide to developing enterprise applications for the Java 2 Platform, Enterprise Edition (J2EE) version 1.4. Here we cover all the things you need to know to make the best use of this tutorial.
10 Minutes Guide to Ant
10 Minutes Guide to Ant
10 Minutes Guide to Ant
Previous Tutorial Index Next
Introduction
Well for the next 10 minutes get ready to devote to the ant guide. This will make some sence to the ant.
Ant is a free tool under GNU Licence and is
Building Web Application With Ant and Deploying on Jboss 3.0
Building Web Application With Ant and Deploying on Jboss 3.0
Building Web Application With Ant and Deploying on Jboss 3.0
Previous Tutorial Index Next
In this lesson I will show you how to build you web application and install on the Jboss 3.0
Welcome to the Jboss 3.0 Tutorial
Welcome to the Jboss 3.0 Tutorial
Welcome to the Jboss 3.0 Tutorial
10 Minutes Guide to Ant
Comprehensive description of Ant with example.
Building Web Application With Ant and Deploying on Jboss 3.0
This lesson shows you how to build you web
Using MYSQL Database with JSP & Servlets.
Using MYSQL Database with JSP & Servlets.
Using MYSQL Database with JSP & Servlets.
MY SQL is a powerful RDBMS, which can handle large amount of data. And more interestingly it is free to use, except for some commercial use. you can download it
Parisonz Solutions!
Parisonz Solutions!
W elcome to Parisonz Solutions . The purpose of this web is to Develop and Distribute Projects to Businesses and Individuals though Web. We have a wide range of projects completed online — including software development, web
Building Search Engine Applications Using Servlets !
Building Search Engine Applications Using Servlets !
Building Search Engine Applications Using Servlets
Please visit http://www.webappcabaret.com/javadevelopers/search to see running copy of our search engine.
Introduction
This tutorial takes
UltraLightClient Community Site
Community-driven Wiki site for UltraLightClient Code Snippets and Contributions
If you want to contribute, please go to Register as Committer. There is no support for the content on this site by Canoo. Committers agree that the code can be used free of c