Developed remote control management software (implemented in C Language) based on GTK + 3.

Source: Internet
Author: User
Tags gtk

Developed remote control management software (implemented in C Language) based on GTK + 3.

Recently, I want to learn about C and GTK + 3 while the company has no projects. By the way, I want to learn more about network programming in Linux.

I. learning knowledge:

1. C basic syntax

2. GTK + 3 API-based GUI Learning

3. Use Glade and bind events, and develop the GUI with GTK + 3.

4. Socket programming in Linux

5. Develop the gtk gui based on MSYS2 in Windows.

Ii. ultimate goal:

The functions implemented by the program are as follows:

1. Remote display of the client screen.

2. Remote Control of mouse coordinates.

3. Implement the basic functions of text chat on both clients.

4. Implement the file transfer function on both clients.

Iii. Implementation ideas (solutions ):

 

1. Client A logs on to the Server and sends the information to the Server.

2. Sever current friend list, which is fed back to client

3. Client A sends (remote control, text or file transmission) requests and data to Sever.

4. After receiving the request, Sever forwards it to the client B.

5. After receiving the request, client B confirms receiving the request.

6. Sever transfers data to your client B

 

Reasons for choosing this solution:

Both the home broadband and home broadband are connected through ADSL + wireless routers. In addition, due to the shortage of IP Address Resources in IP4, the IP addresses allocated by network vendors are also internal network IP addresses, so currently, the server transfer scheme is used to achieve remote control. The clients of both parties do not need to know the IP addresses of each other, whether on the Internet or on the Intranet, and all data is transferred to the server.

Features of this solution: the technology is easy to implement, but the disadvantage is that the communication pressure on the server is high and the efficiency is low.

Other technical solutions:

P2P Intranet penetration

NAT penetration

I have not studied these technical solutions, and I do not know that it is difficult to implement the technology. So I will switch to these technical solutions when I understand the research.

Iv. Series Directories

Development of remote control management software (implemented in C Language) based on GTK + 3

Development of remote control management software (implemented in C Language) based on GTK + 3 in the development environment of Series 2 Centos7

 

 

5. This series is updated regularly until the software is complete and the code is open-source to the Code cloud.

 

Code cloud address

 

Git

https://gitee.com/pete_jones/RemoteControl.git

 

I am also a C cainiao, if you have any questions we discuss, welcome to send Email to my pete_jones@163.com

 

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.