Difference between revisions of "Component: TCP/IP Dummy (Raspberry Pi) (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd. |- | width="20%" style="color:gray;" | Version | 1.8 |- | width="20%" style="color:gra...") |
|||
| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 36: | Line 38: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
Revision as of 14:43, 16 January 2023
| Author | Matrix Ltd. |
| Version | 1.8 |
| Category | Comms: Networking |
Contents
TCP/IP Dummy component
TCP/IP sockets component for use with Raspberry Pi. Raspberry Pi Only
Component Source Code
Please click here for the component source code: FC_Comp_Source_TCPIP_RPI_Dummy.fcfx
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 | |
| Return | |
Property reference
| Properties |