Test network communication programs with two consoles in eclipse

Source: Internet
Author: User

1. Start the sending and receiving programs, at which point the console can see two programs running, such as.

2. In this case there is only one console window, which is not easy to test the program, so create a new console window, such as.

3. It can be found that there are two console windows, and then drag one of the console window out, one to show the sender of the program, the other shows the receiving end of the program, icons used to toggle the display of the program, such as.

4. In the default settings, when the sender sends the data, the current window will display the receiving end of the printing information, however, we only require the current window to display the sender of the program input, the current console window can be locked, such as.

Test network communication programs with two consoles in eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.