#### PyKDE - Python Bindings for KDE

# class TDESocket |
Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | TDESocket
Inherits | TQObject

### methods

- TDESocket (_sock)

  returns a TDESocket instance
  Argument | Type | Default
  --- | --- | ---
  _sock | int |

- TDESocket (_host, _port, timeOut = 30)

  returns a TDESocket instance
  Argument | Type | Default
  --- | --- | ---
  _host | char |
  _port | ushort |
  timeOut | int | 30

- TDESocket (_path)

  returns a TDESocket instance
  Argument | Type | Default
  --- | --- | ---
  _path | char |

- TDESocket (a0)

  returns a TDESocket instance
  Argument | Type | Default
  --- | --- | ---
  a0 | TDESocket |

- closeEvent (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TDESocket |

- connect (_host, _port, timeout = 0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _host | TQString |
  _port | ushort |
  timeout | int | 0

- connect (_path)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _path | char |

- enableRead (enable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- enableWrite (enable)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- readEvent (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TDESocket |

- slotRead (x)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  x | int |

- slotWrite (x)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  x | int |

- socket ()

  returns (int)

- writeEvent (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TDESocket |