blackhat416
22-01-2012, 23:10
با سلام
این برنامه رو به زبان سی شارپ میخام البته اگه زحمتی نیست windows application میخوام .
خیلی ممنون میشم اگه توضیح مختصری در مورد خطوط نوشته شده برنامه هم بدین..... !
برنامه ای برای یک سرور بنویسید که از خط ورودی از کلاینت دیتا دریافت کند و روی خط خروجی استاندارد خودش بفرستد (چاپ کند)
قسمت دوم: در یک کامپیوتر دیگر که دارای یک وب بروزر هست ،آی پی و پورت سرور رو در آن بروزر وارد کرده ،حال باید مرورگر شما درخواست GET خود را به سرور فرستاده و سرور آن ورودی را در خروجی خود بفرستد ،از این پلتفرم استفاده کنید برای تعیین اینکه مرورگر شما پیغام های GET شرطی را برای اشیای که بصورت محلی ذخیره شده اند تولید کند ...!
Write a simple TCP program for a server that accepts lines of input from a
client and prints the lines onto the server's standard output. (You can do this by
modifying the TCPServerjava program in the text.) Compile and execute your
program. On any other machine that contains a Web browser, set the *****
server in the browser to the host that is running your server program; also configure
the port number appropriately. Your browser should now send its GET
request messages to your server, and your server should display the messages
on its standard output. Use this platform to determine whether your browser
generates conditional GET messages for objects that are locally cached.
این برنامه رو به زبان سی شارپ میخام البته اگه زحمتی نیست windows application میخوام .
خیلی ممنون میشم اگه توضیح مختصری در مورد خطوط نوشته شده برنامه هم بدین..... !
برنامه ای برای یک سرور بنویسید که از خط ورودی از کلاینت دیتا دریافت کند و روی خط خروجی استاندارد خودش بفرستد (چاپ کند)
قسمت دوم: در یک کامپیوتر دیگر که دارای یک وب بروزر هست ،آی پی و پورت سرور رو در آن بروزر وارد کرده ،حال باید مرورگر شما درخواست GET خود را به سرور فرستاده و سرور آن ورودی را در خروجی خود بفرستد ،از این پلتفرم استفاده کنید برای تعیین اینکه مرورگر شما پیغام های GET شرطی را برای اشیای که بصورت محلی ذخیره شده اند تولید کند ...!
Write a simple TCP program for a server that accepts lines of input from a
client and prints the lines onto the server's standard output. (You can do this by
modifying the TCPServerjava program in the text.) Compile and execute your
program. On any other machine that contains a Web browser, set the *****
server in the browser to the host that is running your server program; also configure
the port number appropriately. Your browser should now send its GET
request messages to your server, and your server should display the messages
on its standard output. Use this platform to determine whether your browser
generates conditional GET messages for objects that are locally cached.