pikapython/package/socket/_socket.pyi
2023-07-21 16:51:32 +08:00

18 lines
399 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) -> bytes: ...
def _init(): ...
def _setblocking(sta: int): ...
def _gethostname() -> str: ...
def _gethostbyname(host: str) -> str: ...