Component: TCP/IP (Raspberry Pi) (Comms: Networking)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 1.9 |
Category | Comms: Networking |
Contents
TCP/IP component
TCP/IP sockets component for use with Raspberry Pi. Raspberry Pi Only
Component Pack
COMMSA
Detailed description
No detailed description exists yet for this component
Examples
Here is an example of using the TCP/IP component as a means to request data from a remote server on the internet or local network.
Example RPI Client Request Data
Here is an example of using the TCP/IP component as a means to serve data to a client via the internet or local network.
Downloadable macro reference
![]() |
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 data | |
![]() |
Data |
Data byte buffer to send | |
![]() |
Count |
Number of bytes to send | |
![]() |
Return |
![]() |
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 |
![]() |
SocketClose |
Close the socket | |
![]() |
Return |
![]() |
AcceptOpen |
![]() |
Return |
![]() |
AcceptClose |
Close the accept socket | |
![]() |
Return |
![]() |
Initialise |
Initialises the TCP/IP component | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Label |