Is it possible in Python3 to create a TCP Socket handler class that can have multiple unique instances? I have 2 threaded TCP Socket servers that are providing unique information to the connected client. I am trying to make it so that ‘node 1’ socket server handler will provide only the data for ‘node 1’ while ‘node 2’ socket server
Tag: socketserver
Python SocketServer error upon connection
I am running a Python server using the socketserver module in Python 3.1. Every time I get a connection from the client (which succeeds client side), my server receives an error. Here is my code: And here is my error: The odd thing I noticed about the error is that the port it gives on the second line is different
socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
I’m trying to create a custom TCP stack using Python 2.6.5 on Windows 7 to serve valid http page requests on port 80 locally. But, I’ve run into a snag with what seems like Windows 7 tightened up security. This code worked on Vista. Here’s my sample code: C:python>python TestServer.py Traceback (most recent call last): File “TestServer.py”, line 19, in