Skip to content

PC Control is a socket-based system that allows users to remotely control their PC using a mobile device. The project enables functionalities such as opening applications, executing commands, and managing system processes over a network connection.

Notifications You must be signed in to change notification settings

Omniasherief/PC_Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PC Control

Overview

The server-client system utilizes TCP for reliable command transmission. Commands from the client control applications on the server, with responses provided by the server based on socket .

Protocol Used

TCP (Transmission Control Protocol)

  • Connection-oriented: Ensures a stable connection for data transfer.
  • Reliable: Handles packet delivery and order.
  • Use Cases: Suitable for tasks needing guaranteed communication, like opening applications.

Difference between TCP and UDP

  • TCP: Connection-oriented, reliable, and ensures data integrity.
  • UDP: Connectionless, faster but less reliable, suitable for real-time applications where occasional data loss is acceptable.
  • https://www.youtube.com/watch?v=bDjP6bQLy3M

Client App

Steps to Use

  1. Choose TCP client on your app.
  2. Input the server’s IP address and port number.
  3. Connect to the server (make sure the server is running).
  4. Send commands to control the server.

client

server

[from minute 1:30 ] LInk

Commands

  • open_terminal: Opens the terminal.
  • open_calculator: Opens the calculator.
  • open_firefox: Opens Firefox.
  • open_text_editor: Opens a text editor.
  • open_file_manager: Opens the file manager.
  • open_music_player: Opens the music player.
  • open_vscode: Opens Visual Studio Code.
  • open_document_viewer: Opens the document viewer.
  • open_custom_app <app_name>: Opens a custom app specified by <app_name>.
  • exit: Closes the server connection.

Troubleshooting

  • Connection Issues: Ensure server is active and reachable. Check firewall settings and network configurations.
  • Command Not Working: Verify correct command syntax and ensure required applications are installed on the server.

This might help

-https://www.geeksforgeeks.org/socket-programming-in-cpp/

-https://www.geeksforgeeks.org/socket-programming-cc/

About

PC Control is a socket-based system that allows users to remotely control their PC using a mobile device. The project enables functionalities such as opening applications, executing commands, and managing system processes over a network connection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages