TCP Client Server
TCP Client Server
1. Open Code::Blocks.
2. Create New Project: Go to File -> New -> Project...
3. Select Console Application: Choose Console Application and click Go.
4. Choose Language: Select C and click Next.
5. Enter Project Details: Title it (e.g., "TCPServer"), select a location, and
click Finish.
6. Add Source File: In the Project Explorer, find the Sources folder, right-click
it, and select Add file....
7. Create New C File: Name it (e.g., server.c) and paste your TCP server code into
this file.
8. Save Changes: Press Ctrl + S.