realpython / realpython/materials
Custom read handler for sockets demo for appserver.py and appclient.py (libserver, libclient)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 5.2k
- Forks
- 5.3k
- Ø Merge
- 4 T. 10 Std.
- Gemergte PRs (30 T.)
- 10
Beschreibung
ℹ️
https://github.com/realpython/materials/blob/master/python-sockets-tutorial/app-server.py
https://github.com/realpython/materials/blob/master/python-sockets-tutorial/app-client.py
https://github.com/realpython/materials/blob/master/python-sockets-tutorial/libserver.py
https://github.com/realpython/materials/blob/master/python-sockets-tutorial/libclient.py
You can report issues and problems here, but we typically won't be able to provide 1:1 support outside the channels listed above.
Describe the bug
I am trying to use the appclient and appserver demo from the above sockets tutorial and want to process a custom function using the data read from the server read or client read.
To Reproduce
NA
Expected behavior
Able to run a custom function after a read is done in server or client using the data read.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6] NA
- OS: [e.g. iOS8.1] Linux, Windows
- Browser [e.g. stock browser, safari] NA
- Version [e.g. 22] NA
Additional context
NA
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Lies app-server.py und app-client.py zusammen mit libserver.py und libclient.py, um zu verstehen, wie Socket-Daten derzeit gelesen werden. Definiere und dokumentiere das vorgesehene Verhalten benutzerdefinierter Lese-Handler für Server und Client; der Abschluss soll durch die Verarbeitung der Daten nach einem Lesevorgang demonstriert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- networking
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100