How to use TCP/IP monitor and its role

Source: Internet
Author: User

Using TCP/IP Monitor in MyEclipse


Open method:

window-->show view-->other-->myeclipse common-->tcp/ip Monitor


Right---properties--see


Function: Monitor the data transfer between customer service and server, play the role of Intermediate bridge
Principle: Play the role of the Middle bridge, open a port, customer service side access not directly to the server but first access to the port
That is, each customer service to the server to send the request has first passed minitor,minitor in the request (data) sent to the server


In fact, we use the customer service, such as Web page fill data to be transmitted to the server via the HTTP protocol
But the request and response we see is only part of the data, and the browser is wrapped before it is transmitted to the server via HTTP
(The browser will send some additional data by default in the process of requesting, responding.)
So the HTTP transmission of data not only includes the Web source, we fill in the data,
There are some packaging data, as well, the server responds to the same data transmission


So when we use Sorket to simulate browser access on the Android side
It is important to understand what data the HTTP transmits or how to emulate the browser????




How to use Socke to access the server???
You can use the socket to impersonate a browser to access Get,post requests


In fact the Tomcate server itself is a socket program externally exposed port 8080
In fact, the browser itself is the customer service side


We can use the socket customer service directly to access the server is also possible, but!!! Some problems with the direct access process

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

How to use TCP/IP monitor and its role

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.