mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-04 22:07:45 +00:00
edit docs
This commit is contained in:
parent
facd7be644
commit
e8c0446943
5 changed files with 12 additions and 8 deletions
|
|
@ -86,7 +86,7 @@ class TCPClient:
|
|||
def receive(self, timeout=1):
|
||||
"""!Receive data from the server
|
||||
|
||||
@param: timeout to wait for incoming data in seconds
|
||||
@param timeout: to wait for incoming data in seconds
|
||||
@return received data"""
|
||||
try:
|
||||
read, _, _ = select.select([self._sock], [], [], timeout)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class NetCheck:
|
|||
"""!Create a new NetCheck instance
|
||||
|
||||
@param hostname: host against connection check is running ("https://www.google.com/")
|
||||
@param timout: timout for connection check in sec. (1)"""
|
||||
@param timeout: timeout for connection check in sec. (1)"""
|
||||
self._hostname = hostname
|
||||
self._timeout = timeout
|
||||
self.connectionState = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue