Computer Science, asked by paro3293, 1 year ago

In Python based socket programming, which of these is/are represent a socket family?
a. AF_UNIX
b. AF_INET
c. Both a and b
d. None of these

Answers

Answered by Anonymous
20
AF_UNIX and AF_INET

AF_UNIX and AF_INET represent a socket family.

Correct answer: Both a and b.


➡️ AF_UNIX and AF_INET

Explanation:

1) AF_UNIX => AF_UNIX is the socket which is used for communication between the different kind of processes on same time.

▪️ AF_UNIX is one of the most important part of Python. AF_UNIX is mainly connected with the Domain of website. Because of AF_UNIX, We can access website. AF_UNIX is also known as AF_LOCAL.

2) AF_INET => AF_INET is also like a AF_UNIX. AF_INET is directly connected with the internet address. IP address of any website is possible because of AF_INET.

▪️ Website get it's IP address because of AF_INET. AF_INET is used for socket programming in Python.



◼️ About Python:

Python is a famous programming language. Which is mainly used for creating webpages, apps, windows apps and softwares. Python is also used by Hackers for hacking the details of user. Python is very popular programming language which is offered by great companies for Job.
Answered by Prathamesh1856
1

Correct answer: Both a and b

Similar questions