MCPcopy Create free account
hub / github.com/cinder/Cinder / bind

Function bind

include/asio/basic_socket.hpp:783–788  ·  view source on GitHub ↗

Bind the socket to the given local endpoint. * This function binds the socket to the specified endpoint on the local * machine. * * @param endpoint An endpoint on the local machine to which the socket will * be bound. * * @throws asio::system_error Thrown on failure. * * @par Example * @code * asio::ip::tcp::socket socket(my_context); * socket.open(asio::ip::tcp::v

Source from the content-addressed store, hash-verified

781 * @endcode
782 */
783 void bind(const endpoint_type& endpoint)
784 {
785 asio::error_code ec;
786 impl_.get_service().bind(impl_.get_implementation(), endpoint, ec);
787 asio::detail::throw_error(ec, "bind");
788 }
789
790 /// Bind the socket to the given local endpoint.
791 /**

Callers 15

setupMethod · 0.50
selectMethod · 0.50
deselectMethod · 0.50
scatterMethod · 0.50
assembleMethod · 0.50
selectNodeMethod · 0.50
updateMethod · 0.50
animOutMethod · 0.50
mouseDownMethod · 0.50
MastadonHashtagStreamMethod · 0.50
setupMethod · 0.50
setupMethod · 0.50

Calls 2

throw_errorFunction · 0.85
bindMethod · 0.45

Tested by 8

setupMethod · 0.40
CaptureTestAppMethod · 0.40
SliderMethod · 0.40
setupMethod · 0.40
drawMethod · 0.40
setupMethod · 0.40
keyDownMethod · 0.40
setupMethod · 0.40