TCP Channel

Syntax

dp_connect tcp -server bool -host hostname -port thePort -myport myPort -myaddr addr -async bAsync

Comments

A TCP connection logically breaks down into two types: server and client. For an exchange to take place, there must be one of each. bool defaults to false.

Examples

dp_connect tcp -server true -myport 1025
dp_connect tcp -host foo.com -port 1025
dp_connect tcp -server true -myaddr foo.bar.com -myport 5150
dp_connect tcp -host foo.bar.com -port 5150 -async true