programming:python:py-prefork-server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
programming:python:py-prefork-server [2023/11/10 20:01] – jay | programming:python:py-prefork-server [2023/11/10 20:01] – jay | ||
---|---|---|---|
Line 100: | Line 100: | ||
Remember, if this is a udp server, self.conn will be a string with the actual packet payload. | Remember, if this is a udp server, self.conn will be a string with the actual packet payload. | ||
- | <source | + | <code python> |
def process_request(self): | def process_request(self): | ||
data = self.conn | data = self.conn | ||
self.resp_to(' | self.resp_to(' | ||
- | </source> | + | </code> |
== post_process_request(self) == | == post_process_request(self) == |
programming/python/py-prefork-server.txt · Last modified: 2023/11/10 20:06 by jay