hopefully the last srv commit
This commit is contained in:
parent
f8ab62c2c4
commit
bde8d6b26c
|
@ -56,7 +56,6 @@ class TCPsocket(PlugIn):
|
|||
PlugIn.__init__(self)
|
||||
self.DBG_LINE='socket'
|
||||
self._exported_methods=[self.send,self.disconnect]
|
||||
self._server = server
|
||||
|
||||
# SRV resolver
|
||||
if 'dns' in globals(): # if dnspython is available support SRV
|
||||
|
@ -79,6 +78,8 @@ class TCPsocket(PlugIn):
|
|||
server = (host, port)
|
||||
# end of SRV resolver
|
||||
|
||||
self._server = server
|
||||
|
||||
def plugin(self, owner):
|
||||
""" Fire up connection. Return non-empty string on success.
|
||||
Also registers self.disconnected method in the owner's dispatcher.
|
||||
|
|
Loading…
Reference in New Issue