HelpWizard Pages Protocols TCP/IP/en
Version vom 18. Februar 2022, 11:46 Uhr von Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<strong>Protocols - TCP/IP</strong> link=HelpWizard_Pages_Start Protocols/en|back Datei:arrowright.png|link=HelpWizard Pages Protoco…“)
Protocols - TCP/IP
Low level TCP/IP actions are found in the "Stream I/O" / "Socket Streams" folder of the standard library. Both TCP (connection oriented streams) and UDP (connectionless packets) are supported.
TCP Client: Connecting to another host[Bearbeiten]
Place a "TCP Socket [Connect]" action into the diagram. A socket stream will appear at the output, which can be passed on to any of the stream reading/writing actions (i.e. to read individual characters, lines, strings or binary bytes).
TCP Server: Listening for incoming connections[Bearbeiten]
Place a "TCP Socket [Wait for Connection]" action into the diagram. When someone connects to this port, a socket stream appears at the output pin.
(click the right arrow to see an example)