Object-oriented networking

后端 未结 7 1319
臣服心动
臣服心动 2021-02-05 11:07

I\'ve written a number of networking systems and have a good idea of how networking works. However I always end up having a packet receive function which is a giant switch stat

7条回答
  •  灰色年华
    2021-02-05 11:50

    A map of handler instances is pretty much the best way to handle it. Nothing inelegant about it.

提交回复
热议问题