Interviewer And Interviewee Guide

Web Security Interview Question:

Tell me what is the function of Socket?

Submitted by: Administrator
- Sockets are very important from the security point of view as it is a method that allows directing of the data to application using TCP/IP protocols.

- It provides a way to combine the IP address and the port number so that a socket can be created and used.

- Web server and the client system both have a virtual environment on which there are sockets that allow the communication to happen between both the parties.

- Client system communicates with the server using the sockets that are opened on the system and by plugging the wire to the server and client system.

- Run() method used in Scoket allow the connection to be established that is coming from the client side.

- It also has a function accept() that is given in ServerSocket that returns the number corresponding to the request generated.
Submitted by: Administrator

Read Online Web Security Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.