import{_ as s,c as a,o as i,a9 as e}from"./chunks/framework.C4_mTacX.js";const m=JSON.parse('{"title":"liteyuki.comm.socks_channel","description":"","frontmatter":{"title":"liteyuki.comm.socks_channel"},"headers":[],"relativePath":"en/dev/api/comm/socks_channel.md","filePath":"en/dev/api/comm/socks_channel.md","lastUpdated":null}'),n={name:"en/dev/api/comm/socks_channel.md"},t=e('

Module liteyuki.comm.socks_channel

基于socket的通道

class SocksChannel


func __init__(self, name: str)

Description: 初始化通道

Arguments:

Source code or View on GitHub
python
def __init__(self, name: str):\n    self._name = name\n    self._conn_send = None\n    self._conn_recv = None\n    self._closed = False

func send(self, data)

Description: 发送数据

Arguments:

Source code or View on GitHub
python
def send(self, data):\n    pass

func receive(self)

Description: 接收数据

Return: data: 数据

Source code or View on GitHub
python
def receive(self):\n    pass

func close(self)

Description: 关闭通道

Source code or View on GitHub
python
def close(self):\n    pass
',24),l=[t];function o(h,c,p,r,k,d){return i(),a("div",null,l)}const g=s(n,[["render",o]]);export{m as __pageData,g as default};