Question

In addition to the TCP socket there are local sockets. Research the uses of local sockets...

In addition to the TCP socket there are local sockets. Research the uses of local sockets and comment on why local sockets are designed to work like TCP sockets

Homework Answers

Answer #1

Ans. The socket is also used as for the software endpoint of node internal interprocess communication which use the same API as the network socket. On a TCP network every device have its own IP address. Local sockets is the form of loopback that uses to test a socket client and the server application running in the similar TPF system without needing a real network local socket address, consisting of the local IP address and (for TCP and UDP, but not IP) a port number

  • protocol: A transport protocol, e.g., TCP, UDP, raw IP. This means that (local or remote) endpoints with TCP port 53 and UDP port 53 are distinct sockets, while IP does not have ports.
  • A socket that has been connected to another socket, e.g., during the establishment of a TCP connection, also has a remote socket address.
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
3. If we know stream sockets make use of TCP, datagram sockets make use of UDP,...
3. If we know stream sockets make use of TCP, datagram sockets make use of UDP, and raw sockets use neither, then, why both type and protocol need to be specified in the socket() command?
For a radial connection of sockets, the sockets are connected in parallel to each other right?...
For a radial connection of sockets, the sockets are connected in parallel to each other right? If yes, then why if one socket is faulty, then the next sockets won't work too? Like if they are in parallel, shouldn't they work even if there is a faulty socket? Please explain to me as clearly as you could, and even use figures if needed.
Skeleton Python Code for the Mail Client from socket import * msg =”\r\n I love computer...
Skeleton Python Code for the Mail Client from socket import * msg =”\r\n I love computer networks!” endmsg = ”\r\n.\r\n” # Choose a mail server (e.g. Google mail server) and call it mailserver mailserver = #Fill in start #Fill in end # Create socket called clientSocket and establish a TCP connection with mailserver #Fill in start #Fill in end recv = clientSocket.recv(1024) print recv if recv[:3] != '220': print '220 reply not received from server.' # Send HELO command and...
Company “A” puts new products on the market and uses market research to find ways of...
Company “A” puts new products on the market and uses market research to find ways of improving the product to increase customer satisfaction. Company “B” uses Market Research to determine if consumers are receptive to a new product, then develops the product based on its research to meet customer satisfaction before placing it on the market. Which of the two approaches to using marketing research might be most effective? Why or why not?
A local jail wants to better understand arrests in its jurisdiction. A research study was conducted...
A local jail wants to better understand arrests in its jurisdiction. A research study was conducted to determine how many times current inmates were arrested. When asked, “How many times were you arrested,” the study population of inmates responded: 11, 32, 76, 37, 44, 48, 4, 75, 32, 59, 49, 94, 73, 48, 99. YOU MUST USE HAND CALCULATIONS (i.e., do not use Excel, SPSS, or any other computer program to perform the calculations). Calculate and label the following: n...
Q1. if a company uses the local consumer culture positioning, what challenge they are facing and...
Q1. if a company uses the local consumer culture positioning, what challenge they are facing and how to overcome it?   Q2. If company B re-located its manufacturing to country C which represents the export market with the greatest potential for salesand would significantly reduce tariffs, manufacturing and freight costs and shipping times, thereby generating significantly larger profit. Explain why you would not recommend this re-location.
3. Research any bonds issued by a local government body in your community / state. (preferably...
3. Research any bonds issued by a local government body in your community / state. (preferably massachusetts or new hampshire) a) Identify the bond issuer, the purpose of the bond, the total amount being raised. b)What is the yield of this bond? c) When is the maturity date of this bond? d) What is the rating of this bond? What does this rating mean? c) What are 3 benefits of investing in this bond? d) What are 3 drawbacks of...
Research is an integral part of all professional fields. Designing a research study can be a...
Research is an integral part of all professional fields. Designing a research study can be a complicated task that can be simplified if the appropriate techniques can be identified. This assignment will give you the opportunity to design an experiment, including finding relevant prior research, determining the appropriate sample, data analysis techniques, and discuss the results you hope to see. Working from the topic chosen earlier in the topic selection, you will be designing your own statistical study. In a...
An electrical utility is experiencing a sharp power demand in a certain local area, and you...
An electrical utility is experiencing a sharp power demand in a certain local area, and you consider two alternatives. Each is designed to provide enough capacity during the next 25 years, and both will consume the same amount of fuel, so fuel cost is not considered in the analysis. The first alternative: Increase the generating capacity now so that the ultimate demand can be met without additional expenditures later. An investment of $25 million would be needed, and the plant...
Research indicates that 2,118 out of 100,000 Americans live to age 100 or older. What is...
Research indicates that 2,118 out of 100,000 Americans live to age 100 or older. What is the probability of selecting an American at random and finding that he/she does not live to age 100? The Grand Theater uses teams of three to work the concession stand each evening. There are seven employees available to work each evening. What counting rule would allow use to figure out how many teams can be scheduled to staff the concession stand? Why? A trucking...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT