mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
16 lines
319 B
Python
16 lines
319 B
Python
from PikaObj import *
|
|
|
|
|
|
class socket:
|
|
def _bind(host: str, port: int): ...
|
|
def _listen(num: int): ...
|
|
def _accept(): ...
|
|
def _send(data: any): ...
|
|
def _close(): ...
|
|
def _connect(host: str, port: int): ...
|
|
def _recv(num: int) -> str: ...
|
|
def _init(): ...
|
|
|
|
|
|
def _gethostname() -> str: ...
|