如何在不编码和解码的情况下在扭曲的 python 包上发送消息?
How to send messages on twisted python package without encoding and decoding?
I have three clients and I want to send messages using twisted package on python3 and I don't want to be encoded and decode, I want to send the messages as numbers without enc-dec to string.
I want to send the messages as numbers without enc-dec to string.
你明白为什么需要编码和解码了吗?数据以字节形式通过网络传递。应用程序负责将字节与更高级别的数据结构相互转换。直言不讳,你不能 send/receive 不对字节进行编码和解码的消息。
I have three clients and I want to send messages using twisted package on python3 and I don't want to be encoded and decode, I want to send the messages as numbers without enc-dec to string.
I want to send the messages as numbers without enc-dec to string.
你明白为什么需要编码和解码了吗?数据以字节形式通过网络传递。应用程序负责将字节与更高级别的数据结构相互转换。直言不讳,你不能 send/receive 不对字节进行编码和解码的消息。