-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add: multi client networking. shit polishing will be soon
- Loading branch information
Konnnst
committed
Oct 26, 2023
1 parent
403dae2
commit a2cb305
Showing
6 changed files
with
73 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Client; | ||
|
||
public static class ClientUI | ||
{ | ||
public static void Start() | ||
{ | ||
var run = true; | ||
var connection = new ClientNetwork(); | ||
|
||
while (run) | ||
{ | ||
Console.Write("ftp_client > "); | ||
var query = Console.ReadLine(); | ||
var response = connection.GetServerResponse(query); | ||
Check warning on line 14 in HW04FTP/CLIENT/UI.cs GitHub Actions / build-Ubuntu
Check warning on line 14 in HW04FTP/CLIENT/UI.cs GitHub Actions / build-Ubuntu
Check warning on line 14 in HW04FTP/CLIENT/UI.cs GitHub Actions / build-Windows
|
||
Console.WriteLine(response); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters