Pustaka Taratsa
Python3: socketserver.TCPServer

Python3: socketserver.TCPServer

Penulis: Onno Widodo Purbo

Contents 1 Server side 2 Client side 3 Run 4 Pranala Menarik Server side import socketserver class MyTCPHandler(socketserver.BaseRequestHandler): """ The request handler class for our server. It is instantiated once per connection to the server, and must override the handle() method to implement communication to the client. """ def handle(self): # self.request is the TCP socket connected to the