diff options
author | dknn <yoann.blein@free.fr> | 2012-08-11 11:53:40 (GMT) |
---|---|---|
committer | dknn <yoann.blein@free.fr> | 2012-09-22 09:32:38 (GMT) |
commit | 054bf7baf02cf088930c340fead40b464c1ed015 (patch) | |
tree | 867f6dfd936aa8a79f658c0aa4a834e5108e699a /Swiften | |
parent | 955c4589ca254814ae7ec6ed911e0a62febc5da1 (diff) | |
download | swift-contrib-054bf7baf02cf088930c340fead40b464c1ed015.zip swift-contrib-054bf7baf02cf088930c340fead40b464c1ed015.tar.bz2 |
Fix port for testing
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/ScreenSharing/ScreenSharing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/ScreenSharing/ScreenSharing.cpp b/Swiften/ScreenSharing/ScreenSharing.cpp index 0a477c2..f1b7ebf 100644 --- a/Swiften/ScreenSharing/ScreenSharing.cpp +++ b/Swiften/ScreenSharing/ScreenSharing.cpp @@ -68,7 +68,8 @@ bool ScreenSharing::addBestCandidate(boost::shared_ptr<JingleRawUDPTransportPayl foreach (const NetworkInterface& interface, interfaces) { if (!interface.isLoopback()) { // exclude loopback foreach (const HostAddress& addr, interface.getAddresses()) { - int port = serverSocket->bindOnAvailablePort(addr); +// int port = serverSocket->bindOnAvailablePort(addr); + int port = serverSocket->bind(HostAddressPort(addr, 29999)); if (!port) continue; |