C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-29-2006, 12:22 PM   #1
Registered User
 
Join Date: Nov 2005
Posts: 12
ping client

Hi,
I'm trying to find a simple ping client that would talk to a ping server that I have that's in java. I'm trying to create a simplistic ping client similar to the actual ping program found in windows/dos. I was wondering if anyone know of a simple C ping client example that I could follow to convert into a java program. The only requirement for the program is to take hostname and port that it would connect to the server on. This is also done in UDP. Thank you for your time.
cpp_is_fun is offline   Reply With Quote
Old 11-29-2006, 12:24 PM   #2
Jaxom's & Imriel's Dad
 
Kennedy's Avatar
 
Join Date: Aug 2006
Location: Alabama
Posts: 877
Here is the net tools package for Linux. You should be able to figure out the rest for the DOS world.
Kennedy is offline   Reply With Quote
Old 11-29-2006, 12:30 PM   #3
Registered User
 
Join Date: Nov 2005
Posts: 12
I don't see a ping/icmp ping source files in that tar? Also these examples would not be what I call simple to follow. Thanks for your try, but I'll see if anyone else has a simplier example.
cpp_is_fun is offline   Reply With Quote
Old 11-29-2006, 12:41 PM   #4
Jaxom's & Imriel's Dad
 
Kennedy's Avatar
 
Join Date: Aug 2006
Location: Alabama
Posts: 877
Oops, sorry. I thought that was the same thing as this.
Kennedy is offline   Reply With Quote
Old 11-29-2006, 12:44 PM   #5
Registered User
 
Join Date: Nov 2005
Posts: 12
Yea I see the ping.c file, but these are pretty complex tools especially when they're being used in real life distribution. Thanks for the quick response. Hopefully someone in here has a basic example of a ping client communicating with a ping server.
cpp_is_fun is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Send Mac Address From Client to Server Lieyza197 C Programming 2 05-27-2009 09:58 AM
Socket Programming Problem!!!! bobthebullet990 Networking/Device Communication 2 02-21-2008 07:36 PM
WSAAsyncSelect Socket Model. She's Not Hot. Tonto Networking/Device Communication 2 03-24-2007 08:34 AM
Query related to posting message from a regular dll to Client Application? dp_76 Windows Programming 1 09-18-2005 09:06 PM
Unicode vurses Non Unicode client server application with winsock2 query? dp_76 Networking/Device Communication 0 05-16-2005 07:26 AM


All times are GMT -6. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22