NAME

Qt::Network::QLocalSocket

PUBLIC METHODS

QLocalSocket(QObject * parent)
QLocalSocket(QObject * parent = 0)
~QLocalSocket()
void abort()
qint64 bytesAvailable()
qint64 bytesToWrite()
bool canReadLine()
void close()
void connectToServer(const QString & name, QFlags<QIODevice::OpenModeFlag> openMode)
void connectToServer(const QString & name, QFlags<QIODevice::OpenModeFlag> openMode = QIODevice::ReadWrite)
void disconnectFromServer()
QLocalSocket::LocalSocketError error()
bool flush()
QString fullServerName()
bool isSequential()
bool isValid()
qint64 readBufferSize()
QString serverName()
void setReadBufferSize(qint64 size)
QLocalSocket::LocalSocketState state()
bool waitForBytesWritten(int msecs)
bool waitForBytesWritten(int msecs = 30000)
bool waitForConnected(int msecs)
bool waitForConnected(int msecs = 30000)
bool waitForDisconnected(int msecs)
bool waitForDisconnected(int msecs = 30000)
bool waitForReadyRead(int msecs)
bool waitForReadyRead(int msecs = 30000)

ENUM VALUES

ConnectionRefusedError
PeerClosedError
ServerNotFoundError
SocketAccessError
SocketResourceError
SocketTimeoutError
DatagramTooLargeError
ConnectionError
UnsupportedSocketOperationError
UnknownSocketError
UnconnectedState
ConnectingState
ConnectedState
ClosingState

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html