File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -703,18 +703,27 @@ Message type: ``is_complete_reply``::
703
703
'indent': str,
704
704
}
705
705
706
+
706
707
Connect
707
708
-------
708
709
710
+ .. deprecated :: 5.1
711
+
712
+ connect_request/reply have not proved useful, and are considered deprecated.
713
+ Kernels are not expected to implement handlers for this message.
714
+
709
715
When a client connects to the request/reply socket of the kernel, it can issue
710
716
a connect request to get basic information about the kernel, such as the ports
711
717
the other ZeroMQ sockets are listening on. This allows clients to only have
712
718
to know about a single port (the shell channel) to connect to a kernel.
719
+ The ports for any additional channels the kernel is listening on should be included in the reply.
720
+ If any ports are omitted from the reply, this indicates that the channels are not running.
713
721
714
722
Message type: ``connect_request ``::
715
723
716
- content = {
717
- }
724
+ content = {}
725
+
726
+ For example, a kernel with all channels running:
718
727
719
728
Message type: ``connect_reply ``::
720
729
@@ -723,8 +732,10 @@ Message type: ``connect_reply``::
723
732
'iopub_port' : int, # The port the PUB socket is listening on.
724
733
'stdin_port' : int, # The port the stdin ROUTER socket is listening on.
725
734
'hb_port' : int, # The port the heartbeat socket is listening on.
735
+ 'control_port' : int, # The port the control ROUTER socket is listening on.
726
736
}
727
737
738
+
728
739
.. _msging_comm_info :
729
740
730
741
Comm info
You can’t perform that action at this time.
0 commit comments