Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DisplayDriverServer : Create IPv6 endpoint #1395

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
10.5.x.x (relative to 10.5.6.0)
========


Improvements
------------

- DisplayDriverServer : Fixed delays connecting to the server on Windows.

10.5.6.0 (relative to 10.5.5.0)
========

Expand All @@ -11,7 +17,6 @@ Improvements
- `IECoreGL::ColorTexture`: Added new constructor that accepts an argument specifying the internal storage format to use.



10.5.5.0 (relative to 10.5.4.2)
========

Expand Down
3 changes: 2 additions & 1 deletion src/IECoreImage/DisplayDriverServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class DisplayDriverServer::PrivateData : public RefCounted

void openPort( DisplayDriverServer::Port portNumber )
{
m_endpoint = boost::asio::ip::tcp::endpoint( tcp::v4(), portNumber );
m_endpoint = boost::asio::ip::tcp::endpoint( tcp::v6(), portNumber );
m_acceptor.open( m_endpoint.protocol() );
#ifdef _MSC_VER
m_acceptor.set_option( boost::asio::ip::tcp::acceptor::reuse_address( false ) );
Expand All @@ -184,6 +184,7 @@ class DisplayDriverServer::PrivateData : public RefCounted
#else
m_acceptor.set_option( boost::asio::ip::tcp::acceptor::reuse_address( true ) );
#endif
m_acceptor.set_option( boost::asio::ip::v6_only( false ) );
m_acceptor.bind( m_endpoint );
m_acceptor.listen();
}
Expand Down
Loading