Difference between revisions of "Socket Server Node"
From PresenceWiki
Line 1: | Line 1: | ||
http://www.international-presence.com/wikidocs/images/socket_node_server.png | http://www.international-presence.com/wikidocs/images/socket_node_server.png | ||
− | The Socket Server Action node allows Presence to act as a TCP/IP socket server and communicate with remote or local clients. | + | The Socket Server Action node allows Presence to act as a TCP/IP socket server and communicate with remote or local clients. When the socket server receives a connection and completes the data exchange it continues along the task execution path. |
<hr> | <hr> | ||
http://www.international-presence.com/wikidocs/images/socket_server_dialog.png | http://www.international-presence.com/wikidocs/images/socket_server_dialog.png | ||
+ | |||
+ | *'''Name''' : This is the name you would like to give to this node | ||
+ | *'''Label''' : The identifies the socket server and allows it to be referenced. Ideally this should be unique per socket server. | ||
+ | *'''Address''' : This will always be "localhost" for the server. | ||
+ | *'''Port''' : The port that the socket server should listen on. | ||
+ | |||
+ | ===Socket Actions=== | ||
+ | |||
+ | This specifies the protocol for communication. A socket server can read and write data and disconnect the client and / or the server. | ||
{{Actions}} | {{Actions}} |
Revision as of 15:59, 9 March 2012
http://www.international-presence.com/wikidocs/images/socket_node_server.png
The Socket Server Action node allows Presence to act as a TCP/IP socket server and communicate with remote or local clients. When the socket server receives a connection and completes the data exchange it continues along the task execution path.
http://www.international-presence.com/wikidocs/images/socket_server_dialog.png
- Name : This is the name you would like to give to this node
- Label : The identifies the socket server and allows it to be referenced. Ideally this should be unique per socket server.
- Address : This will always be "localhost" for the server.
- Port : The port that the socket server should listen on.
Socket Actions
This specifies the protocol for communication. A socket server can read and write data and disconnect the client and / or the server.
Task Elements : Action Task Elements : Socket Server Node