[xmpppy]it is standarD not with T; thanks dkm
This commit is contained in:
parent
f0d68cb441
commit
f590da078a
|
@ -184,7 +184,7 @@ class Client(CommonClient):
|
|||
pass it as tuple as first parameter. If there is HTTP proxy between you and server -
|
||||
specify it's address and credentials (if needed) in the second argument
|
||||
If you want ssl/tls support to be discovered and enable automatically - leave third argument as None. (ssl will be autodetected only if port is 5223 or 443)
|
||||
If you want to force SSL start (i.e. if port 5223 or 443 is remapped to some non-standart port) then set it to 1
|
||||
If you want to force SSL start (i.e. if port 5223 or 443 is remapped to some non-standard port) then set it to 1
|
||||
If you want to disable tls/ssl support completely, set it to 0
|
||||
Example: connect(('192.168.5.5',5222),{'host':'proxy.my.net','port':8080,'user':'me','password':'secret'})
|
||||
Returns '' (on no connection) or 'tcp' or 'tls', depending on the result."""
|
||||
|
|
|
@ -62,7 +62,7 @@ class TCPsocket(PlugIn):
|
|||
""" This class defines direct TCP connection method. """
|
||||
def __init__(self, server=None):
|
||||
""" Cache connection point 'server'. 'server' is the tuple of (host, port)
|
||||
absolutely the same as standart tcp socket uses. """
|
||||
absolutely the same as standard tcp socket uses. """
|
||||
PlugIn.__init__(self)
|
||||
self.DBG_LINE='socket'
|
||||
self._exported_methods=[self.send,self.disconnect]
|
||||
|
|
Loading…
Reference in New Issue