Component: TCP Template (Comms: Networking): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 93: | Line 93: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AcceptClose''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AcceptClose''' | ||
|- | |- | ||
| Line 107: | Line 107: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AcceptOpen''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''AcceptOpen''' | ||
|- | |- | ||
| Line 121: | Line 121: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connect''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connect''' | ||
|- | |- | ||
| Line 145: | Line 145: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateIPSocket''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateIPSocket''' | ||
|- | |- | ||
| Line 174: | Line 174: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateMACSocket''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateMACSocket''' | ||
|- | |- | ||
| Line 203: | Line 203: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateTCPSocket''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateTCPSocket''' | ||
|- | |- | ||
| Line 232: | Line 232: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateUDPSocket''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CreateUDPSocket''' | ||
|- | |- | ||
| Line 261: | Line 261: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ForcePropEvent''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ForcePropEvent''' | ||
|- | |- | ||
| Line 275: | Line 275: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsole''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetConsole''' | ||
|- | |- | ||
| Line 289: | Line 289: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetPropertyVal''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetPropertyVal''' | ||
|- | |- | ||
| Line 308: | Line 308: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetSocketStatus''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetSocketStatus''' | ||
|- | |- | ||
| Line 327: | Line 327: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | ||
|- | |- | ||
| Line 341: | Line 341: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Listen''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Listen''' | ||
|- | |- | ||
| Line 360: | Line 360: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Receive''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Receive''' | ||
|- | |- | ||
| Line 384: | Line 384: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxDataAvailable''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxDataAvailable''' | ||
|- | |- | ||
| Line 403: | Line 403: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxDataSize''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxDataSize''' | ||
|- | |- | ||
| Line 422: | Line 422: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxFlushData''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxFlushData''' | ||
|- | |- | ||
| Line 441: | Line 441: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatchMyIP''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatchMyIP''' | ||
|- | |- | ||
| Line 460: | Line 460: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatchMyMAC''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatchMyMAC''' | ||
|- | |- | ||
| Line 479: | Line 479: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatch_2_Bytes''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatch_2_Bytes''' | ||
|- | |- | ||
| Line 508: | Line 508: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatch_4_Bytes''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatch_4_Bytes''' | ||
|- | |- | ||
| Line 547: | Line 547: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatch_6_Bytes''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxMatch_6_Bytes''' | ||
|- | |- | ||
| Line 596: | Line 596: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxReadByte''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxReadByte''' | ||
|- | |- | ||
| Line 615: | Line 615: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxReadHeader''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxReadHeader''' | ||
|- | |- | ||
| Line 639: | Line 639: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxReadString''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxReadString''' | ||
|- | |- | ||
| Line 663: | Line 663: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxSkipBytes''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RxSkipBytes''' | ||
|- | |- | ||
| Line 687: | Line 687: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureClose''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureClose''' | ||
|- | |- | ||
| Line 701: | Line 701: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureConnect''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureConnect''' | ||
|- | |- | ||
| Line 720: | Line 720: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureInit''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureInit''' | ||
|- | |- | ||
| Line 734: | Line 734: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureRead''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureRead''' | ||
|- | |- | ||
| Line 758: | Line 758: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureWrite''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SecureWrite''' | ||
|- | |- | ||
| Line 782: | Line 782: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send''' | ||
|- | |- | ||
| Line 806: | Line 806: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SendTo''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SendTo''' | ||
|- | |- | ||
| Line 840: | Line 840: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetChannel''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetChannel''' | ||
|- | |- | ||
| Line 859: | Line 859: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetDestination''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetDestination''' | ||
|- | |- | ||
| Line 908: | Line 908: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMyIP''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMyIP''' | ||
|- | |- | ||
| Line 942: | Line 942: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetPropertyVal''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetPropertyVal''' | ||
|- | |- | ||
| Line 966: | Line 966: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SocketClose''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SocketClose''' | ||
|- | |- | ||
| Line 980: | Line 980: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SocketOpen''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SocketOpen''' | ||
|- | |- | ||
| Line 999: | Line 999: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TCPClose''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TCPClose''' | ||
|- | |- | ||
| Line 1,018: | Line 1,018: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TCPConnect''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TCPConnect''' | ||
|- | |- | ||
| Line 1,067: | Line 1,067: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TCPListen''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TCPListen''' | ||
|- | |- | ||
| Line 1,086: | Line 1,086: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxEnd''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxEnd''' | ||
|- | |- | ||
| Line 1,105: | Line 1,105: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendByte''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendByte''' | ||
|- | |- | ||
| Line 1,129: | Line 1,129: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendMyIP''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendMyIP''' | ||
|- | |- | ||
| Line 1,148: | Line 1,148: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendMyMAC''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendMyMAC''' | ||
|- | |- | ||
| Line 1,167: | Line 1,167: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendString''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxSendString''' | ||
|- | |- | ||
| Line 1,191: | Line 1,191: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxStart''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''TxStart''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix Ltd. |
| Version | 2.2 |
| Category | Comms: Networking |
TCP Template component
Base TCP/IP component with simulation only interface to allow TCP/IP style network communications in simulation. Suitable for inheriting
Component Source Code
Please click here to download the component source project: FC_Comp_Source_TCPIP_Base.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TCPIP_Base.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Additional examples can be found in the “Apps and Bundles” section of this Wiki:
Wireless LAN Application Guide
Macro reference
AcceptClose
| AcceptClose | |
| Close the accept socket | |
| Return | |
AcceptOpen
| AcceptOpen | |
| Return | |
Connect
CreateIPSocket
CreateMACSocket
CreateTCPSocket
CreateUDPSocket
ForcePropEvent
| ForcePropEvent | |
| Allows the property event to be fired, doing things like fetching the correct IP for the network interface. | |
| Return | |
GetConsole
| GetConsole | |
| Obtain the console instance for the TCP/IP base. | |
| Return | |
GetPropertyVal
| GetPropertyVal | |
| Property | |
| Return | |
GetSocketStatus
| GetSocketStatus | |
| This returns the state of the requested channel's socket. | |
| Channel | |
| Specifies the communications channel 0-3 | |
| Return | |
Initialise
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 | |
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 | |
RxDataAvailable
RxDataSize
| RxDataSize | |
| This macro is used to detect the size of data collected by the Rx_data_available macro. | |
| Channel | |
| Specifies the communications channel 0-3 | |
| Return | |
RxFlushData
RxMatchMyIP
RxMatchMyMAC
RxMatch_2_Bytes
RxMatch_4_Bytes
RxMatch_6_Bytes
RxReadByte
RxReadHeader
RxReadString
RxSkipBytes
SecureClose
| SecureClose | |
| Close the secure connection | |
| Return | |
SecureConnect
| SecureConnect | |
| Connect securely to host and port. e.g. “www.bbc.co.uk:443” Returns 1 if successful, 0 if not | |
| host | |
| Host:Port as string | |
| Return | |
SecureInit
| SecureInit | |
| Call once to initialise the secure socket funtionality | |
| Return | |
SecureRead
| SecureRead | |
| Attempts to read max number of bytes from the secure socket into the buffer. Returns actual number of bytes read. | |
| buffer | |
| max | |
| Return | |
SecureWrite
| SecureWrite | |
| Attempts to write max number of bytes to the secure socket from the buffer. Returns actual number of bytes written. | |
| buffer | |
| max | |
| Return | |
Send
| Send | |
| Send data | |
| Data | |
| Data byte buffer to send | |
| Count | |
| Number of bytes to send | |
| Return | |
SendTo
| SendTo | |
| Send data to a destination host. Returns the number of bytes sent. | |
| Data | |
| Data byte buffer to send | |
| Count | |
| Number of bytes to send | |
| Address | |
| Port | |
| Return | |
SetChannel
SetDestination
SetMyIP
SetPropertyVal
| SetPropertyVal | |
| Property | |
| Value | |
| Return | |
SocketClose
| SocketClose | |
| Close the socket | |
| Return | |
SocketOpen
TCPClose
TCPConnect
TCPListen
TxEnd
| TxEnd | |
| Once the transmit buffer has been filled with data, call this macro to actually send the data. | |
| Channel | |
| Specifies the communications channel 0-3 | |
| Return | |
TxSendByte
TxSendMyIP
TxSendMyMAC
TxSendString
TxStart