Book Image

Boost.Asio C++ Network Programming

By : Wisnu Anggoro
Book Image

Boost.Asio C++ Network Programming

By: Wisnu Anggoro

Overview of this book

Table of Contents (15 chapters)
Boost.Asio C++ Network Programming Second Edition
Credits
About the Authors
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

Using TCP/IP tools for troubleshooting


Some of the following commands can be used to track any TCP/IP errors. The commands can be used to examine whether or not any router is down or any connection is established. It will then help us a lot to decide on the proper solution.

The ipconfig command

We used the ipconfig command earlier to identify the MAC address and the IP address. In addition to this, we can use this command to check the TCP/IP configuration. We can also use this command as explained in the upcoming sections.

Displaying the full configuration information

To display the configuration information completely, we can call the following command on the console:

ipconfig /all

All the configuration information about the network adapter will be displayed for us, such as the network interface card, wireless card, and Ethernet adapter, like we have already tried in The Data Link layer section in this chapter when we looked for MAC Address.

Displaying DNS

The following command will display...