Whether TCP or UDP is unblocked in network transmission test

Source: Internet
Author: User

In the development and use of audio and video, often encountered TCP or UDP whether the problem is smooth, now according to the market more stable Anychat platform, Progress Demo debugging, to provide you with a simple test method.

Download First Anychat software that can be downloaded to their website: www.anychat.cn

Download the attachment tools I provide: Sockettool.rar(755.9 KB,download number of times: 177)The compressed package has instructions for use and is not specifically stated.

now for the use of officialDemoTo do a simple test: Test the server-side and the client'sTCPorUDPis unblocked.

First server-side operations are as follows:
OpenSockettool.exeTools,EstablishTCPtest Service, port number is8906,

Establish UDP test Service, port number is 8907 ,

The client operation is as follows:
Open Sockettool.exe Tools to build TCP test user, fill in A End IP address (fill in the User your own A End of IP address) and TCP Port number 8906 , then click the Connect button.
1.

2.


Establish UDP test user, fill in A End IP address (fill in the User your own A End of IP address) and UDP Port number 8907 ,

Server, client-to-peer data:
Communication is possible after the server and client have been established separately.
For example, the server can send data to the specified client, client users can send data to the server side.
1.


2.




Similarly, UDP server-side and UDP data can also be sent between clients.
1.


2.



If the above can be successfully operated, then the server, the customer between the two sides can be connected properly. If the operation is unsuccessful, there is a connection problem on both sides of the server and client.
In particular, the UDP operation is unsuccessful and will affect the audio and video of the SDK.

If there is a problem with both ends of a and B connections, it is possible that the firewall has disabled the port and opened two ports. The operation is as follows:
Open Control Panel-Windows Firewall-exceptions-add port.
Add the TCP and UDP ports required by the SDK separately. (You can open both ends when you are unsure which side of the problem is.)

Tcp:


UDP :


Any questions can be asked directly to the Technical forum: http://bbs.anychat.cn/forum.php

Whether TCP or UDP is unblocked in network transmission test

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.