mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
python: add binding for SockAddr.resolve
This commit is contained in:
1 parent
ae2a1d83cf
commit
29efd42de3
2 files changed
+11
No files matched your search
@@ -86,6 +86,8 @@ cdef extern from "opendht/sockaddr.h" namespace "dht":
|
||||
bool isLoopback() const
|
||||
bool isPrivate() const
|
||||
bool isUnspecified() const
|
||||
@staticmethod
|
||||
vector[SockAddr] resolve(string host, string service) except +
|
||||
|
||||
ctypedef vector[uint8_t] Blob
|
||||
|
||||
|
||||
Reference in new issue
Block a user