net.cpp File Reference

#include <QTcpSocket>
#include "net.h"

Go to the source code of this file.

Functions

bool net_test_connect (QHostAddress host, quint16 port, int timeout)


Function Documentation

bool net_test_connect ( QHostAddress  host,
quint16  port,
int  timeout 
)

Attempts a connection to host on port. Returns true if the connection was successful, or false if the connection attempt failed.

Definition at line 25 of file net.cpp.

Referenced by MainWindow::start().


Generated on Sat Aug 16 17:31:49 2008 for Vidalia by  doxygen 1.5.6