Python Forum
Question concerning function of a a socket
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question concerning function of a a socket
#2
I only recently started to delve into sockets, but here is the socket module documentation. As you can see there is only Socket object and no distinct ServerSocket object. Socket object is used in server and client. This Listener class looks like threaded server listening for client connections.

here are two more useful links for reference
Socket Programming HOWTO
Socket Programming in Python (Guide)

EDIT: There is separate socketserver module which simplifies the task of writing network servers.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Question concerning function of a a socket - by pkm - Jan-17-2019, 06:25 PM
RE: Question concerning function of a a socket - by buran - Jan-17-2019, 08:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  socket.connect question about parenthesis pace 1 2,397 Jan-30-2021, 08:17 AM
Last Post: Gribouillis
  Function that searches and shows all socket hosts shaanukstar123 1 2,189 Jan-30-2020, 05:52 PM
Last Post: Gribouillis
  UDP Socket Basic question zeeshannnetwork 2 3,152 Sep-10-2018, 02:25 AM
Last Post: zeeshannnetwork
  Raw socket sendto function errors IronReign 5 6,544 Jul-09-2017, 04:46 PM
Last Post: Blue Dog

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020