CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

how to Ping google

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
gtx15



Joined: 19 May 2018
Posts: 27

View user's profile Send private message

how to Ping google
PostPosted: Sat May 19, 2018 3:26 pm     Reply with quote

Need help trying to right code to ping google to see if i plugged into a open network. Using ccs 3.3 embedded ethernet board.
Thank you.
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Sun May 20, 2018 7:21 am     Reply with quote

Just ping 8.8.8.8

This is the Google DNS server address.
gtx15



Joined: 19 May 2018
Posts: 27

View user's profile Send private message

PostPosted: Sun May 20, 2018 7:32 am     Reply with quote

What is the ccs code for ping?
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Sun May 20, 2018 8:02 am     Reply with quote

You send an ICMP echo request packet. Then look for the reply. Depends a bit on which actual stack you have.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group