Introduction
In this project, you will learn how to build a remote shell client that can connect to a remote server and execute shell commands. This project is designed to help you understand the fundamentals of network programming and client-server architecture.
🎯 Tasks
In this project, you will learn:
- How to modify the socket type in the client code to use the correct protocol (TCP)
- How to convert the port number to network byte order for proper communication
- How to correctly set up the connection parameters for the
connect()
function
🏆 Achievements
After completing this project, you will be able to:
- Understand the importance of using the correct socket type and network byte order in network programming
- Implement a basic client-server communication using sockets
- Execute shell commands on a remote server from a local client