Pustaka Taratsa
Python3: socketserver.UDPServer

Python3: socketserver.UDPServer

Penulis: Onno Widodo Purbo

Contents 1 Server side 2 Client side 3 Run 4 Pranala Menarik Server side import socketserver class MyUDPHandler(socketserver.BaseRequestHandler): """ This class works similar to the TCP handler class, except that self.request consists of a pair of data and client socket, and since there is no connection the client address must be given explicitly when sending data back via sendto(). """ def