realpython / realpython/materials

Custom read handler for sockets demo for appserver.py and appclient.py (libserver, libclient)

オープン
#240 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Jupyter Notebook
スター
5.2k
フォーク
5.3k
平均マージ
4日 10時間
マージ済み PR(30日)
10

説明

ℹ️
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

app-server.py と app-client.py を libserver.py および libclient.py と併せて読み、ソケットデータが現在どのように読み取られているかを理解します。サーバーとクライアントの両方について、カスタム読み取りハンドラーの想定される動作を定義して文書化し、読み取り後にデータを処理することで完了を示します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
networking
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。