what are sockets?

0 votes
Are sockets same as ports?
Jun 25 in Python by Nisa
• 1,090 points
15 views

1 answer to this question.

0 votes
Sockets are basically open and close gateways that allow 2-way communication and in most cases it is the server and client. A socket is a combination of port and IP address. They basically help in the transfer of information(sending and receiving)
answered Jun 25 by Fata
• 620 points

Related Questions In Python

0 votes
1 answer

what are "and" and "or" operators in Python?

AND - True if both the operands ...READ MORE

answered Apr 17, 2018 in Python by Johnathon
• 9,070 points
34 views
0 votes
1 answer

What are the differences between type() and isinstance()?

To summarize the contents of other (already ...READ MORE

answered Jun 4, 2018 in Python by ariaholic
• 7,320 points
30 views
0 votes
2 answers

What are the types of dictionary in python?

There are 4 types of dictionary Empty Integer Mixed Dictionary with ...READ MORE

answered Feb 14 in Python by Shashank
• 1,350 points
41 views
0 votes
1 answer

What are the key features of Python?

If it makes for an introductory language ...READ MORE

answered Jul 20, 2018 in Python by Priyaj
• 56,160 points
14 views
0 votes
2 answers

Connection reset : java.net.SocketException

You should check whether the client program is ...READ MORE

answered Sep 6, 2018 in Java by Sushmita
• 6,840 points
946 views
0 votes
1 answer
0 votes
1 answer

socket.shutdown vs socket.close

Once a socket is no longer required, ...READ MORE

answered Jan 29 in Python by SDeb
• 12,360 points
49 views
0 votes
0 answers

What is socket programming in python?

How does sockets work actually? READ MORE

Jun 4 in Python by Waseem
• 3,480 points
11 views
0 votes
1 answer
0 votes
1 answer

What to do when len() does not return the number of integers in range(1,100)?

You can use the following code block: x=range(1,100) len(x) Output: ...READ MORE

answered May 28 in Python by Fata
• 620 points
19 views