Skip to content

Commit

Permalink
a little more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed May 24, 2024
1 parent d5d54a3 commit 8e396fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/irisnet/noncore/cutestuff/bsocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ void BSocket::ensureConnector()
/* Connect to an already resolved host */
void BSocket::connectToHost(const QHostAddress &address, quint16 port)
{
BSLOG(BSDEBUG << address << port);
resetConnection(true);
d->address = address;
d->port = port;
Expand All @@ -471,6 +472,7 @@ void BSocket::connectToHost(const QHostAddress &address, quint16 port)
/* Connect to a host via the specified protocol, or the default protocols if not specified */
void BSocket::connectToHost(const QString &host, quint16 port, QAbstractSocket::NetworkLayerProtocol protocol)
{
BSLOG(BSDEBUG << host << port << protocol);
resetConnection(true);
d->host = host;
d->port = port;
Expand All @@ -483,6 +485,7 @@ void BSocket::connectToHost(const QString &host, quint16 port, QAbstractSocket::
/* Connect to the hosts for the specified services */
void BSocket::connectToHost(const QStringList &services, const QString &transport, const QString &domain, quint16 port)
{
BSLOG(BSDEBUG << services << transport << domain << port);
resetConnection(true);
d->domain = domain;
d->state = Connecting;
Expand Down

0 comments on commit 8e396fb

Please sign in to comment.