我在明天就TCP/IP編程進行了考試。以下是本文前面的問題之一。C中的TCP/IP編程
Write and run a client and a server program. Using C language in UNIX, with the
following specifications :
• A TCP client program will send a range of number (e.g. 1 to 10) to the server.
• TCP server accept the number range from client and send back the sum of the
number range. Client will print the result.
我不知道如何設置編譯器和其他設置來運行此tcp ip程序。當我在線搜索時,我得到了兩個不同的程序,一個用於客戶端,另一個用於服務器。有些請告訴我如何運行這些程序來獲得所需的輸出。我應該在我的系統上安裝什麼樣的編譯器(我正在使用Windows 7)?
在Windows 7上,您需要使用Cygwin或Mingw來運行Unix環境來執行此操作。 – BlargleMonster
爲什麼你沒有嘗試在第一時間學習? –