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