hey guys

any one can help me plz...................

Win or console App in C# ,as soo As possible ..............Tanx


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.

Compile and execute your program.

On any other machine that contains a Web browser, set the proxy
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.

Recommended Answers

All 4 Replies

Sounds like a homework question to me.

Creating a simple TCP server is simple.

1. Create a new console project
2. add a Reference to the net and sockets
3. Create Socket Connection A-synch loop
4. Print incoming lines of text to console

If you do use an example online, be sure to use it as an example only, teachers *usually* arent stupid.

tanx alot , but it's like a homework you right , but plz if you wanna help me ,focus on the secend part of my qc , you know ?! this part:

""On any other machine that contains a Web browser, set the proxy
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.""

What don't you understand about this?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.