hopefully the last srv commit

This commit is contained in:
Nikos Kouremenos 2005-06-14 22:08:48 +00:00
parent f8ab62c2c4
commit bde8d6b26c
1 changed files with 3 additions and 2 deletions

View File

@ -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.