Difference between revisions of "Component: TCP/IP (Raspberry Pi) (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to searchLine 48: | Line 48: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 53: | Line 55: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===Connect=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 76: | Line 79: | ||
+ | ===Receive=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 99: | Line 103: | ||
+ | ===Send=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 122: | Line 127: | ||
+ | ===Listen=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 140: | Line 146: | ||
+ | ===SocketOpen=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 158: | Line 165: | ||
+ | ===SocketClose=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 171: | Line 179: | ||
+ | ===AcceptOpen=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 184: | Line 193: | ||
+ | ===AcceptClose=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 197: | Line 207: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:52, 3 February 2023
Author | Matrix Ltd. |
Version | 1.9 |
Category | Comms: Networking |
Contents
TCP/IP (Raspberry Pi) component
TCP/IP sockets component for use with Raspberry Pi. Raspberry Pi Only
Component Source Code
Please click here to download the component source project: FC_Comp_Source_TCPIP_RPI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TCPIP_RPI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Connect
Receive
![]() |
Receive |
Receive data into the data buffer. Returns the number of bytes received | |
![]() |
Data |
Data byte buffer to receive the data | |
![]() |
Count |
Maximum number of bytes to read | |
![]() |
Return |
Send
![]() |
Send |
Send data | |
![]() |
Data |
Data byte buffer to send | |
![]() |
Count |
Number of bytes to send | |
![]() |
Return |
Listen
![]() |
Listen |
Bind the socket to a port on the local host and set to listen mode. First open a socket on the local device using the Socket function and check that it is successful. | |
![]() |
Port |
![]() |
Return |
SocketOpen
SocketClose
![]() |
SocketClose |
Close the socket | |
![]() |
Return |
AcceptOpen
![]() |
AcceptOpen |
![]() |
Return |
AcceptClose
![]() |
AcceptClose |
Close the accept socket | |
![]() |
Return |
Initialise
![]() |
Initialise |
Initialises the TCP/IP component | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Label |