class KSocket

#### PyKDE - Python Bindings for KDE

# class KSocket |
Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KSocket
Inherits | QObject

### methods

- KSocket (_sock)

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

- KSocket (_host, _port, timeOut = 30)

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

- KSocket (_path)

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

- KSocket (a0)

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

- closeEvent (s)

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

- connect (_host, _port, timeout = 0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _host | QString |
  _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 | KSocket |

- 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 | KSocket |