Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8774035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:27:33+00:00 2026-06-13T18:27:33+00:00

According to this website, http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html it says this : Server: Knock knock! Client: Who’s

  • 0

According to this website, http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html
it says this :

Server: “Knock knock!”

Client: “Who’s there?”

Server: “Dexter.”

Client: “Dexter who?”

Server: “Dexter halls with boughs of holly.”

Client: “Groan.”

I thought that if the server is listening on a port that it is waiting for a knock, so the client would be knocking and the server would be saying who’s there. I’ve checked other websites as well and have seen the same client/server responses.

Can someone please explain why this is not the case?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:27:34+00:00Added an answer on June 13, 2026 at 6:27 pm

    That tutorial says:

    When you successfully get a connection between the client and server, you will see the following text displayed on your screen:

    Server: Knock! Knock!
    

    So it’s actually the client that initiates the protocol (in network terms) but the server that initiates the joke (in conversational terms). Which I agree is rather confusing.

    It might help if you think of it as a Joke Server – in order to get a joke, you have to ask for one!
    If it was the other way round, you’d have a server that just listens to jokes, which isn’t as useful (unless you have absolutely no friends).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to execute the QR Code tutorial according to this website http://www.onbarcode.com/products/android_barcode/barcodes/qrcode.html
According to this website : http://ir.dcs.gla.ac.uk/test_collections/access_to_data.html , university of Glasgow distributes the wt2g collection
According to this sample: http://www.codeproject.com/KB/mobile/DeepCast.aspx It's possible to request a gps coordinate (longitude &
I'm trying to user MiddlemanApp to localize a website, following this http://middlemanapp.com/guides/localization guide. I
According to Microsoft Website on Database.ExecutedDataSet method http://msdn.microsoft.com/en-us/library/microsoft.practices.enterpriselibrary.data.database.executedataset(v=pandp.31).aspx Retired Content This content is outdated
I have come across this website: http://www.fetchak.com/ie-css3/ It seems to work when I enter
According to this website : Although GSM operates in duplex (separate frequencies for transmit
According to this website calling removeChild() in JavaScript causes an Internet Explorer Specific leak
I have this method that receives an ID number and downloads an HTML website
<ol style=padding-top:0;> <li><a href=http://www.24hourfitness.com/membership/offers/specials.html?cm_mmc=Silverfox-_-SEM-_-Google-_-Branded?>24 Hour Fitness</a></li> <!-- open nested list --> <ul> <li>This website

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.