Lines Matching refs:tcp
123 let tcp: socket.TCPSocket = socket.constructTCPSocketInstance();
124 tcp.on('message', (value: SocketInfo) => {
134 tcp.on('connect', () => {
137 tcp.on('close', () => {
145 tcp.bind(ipAddress, (err: BusinessError) => {
160 tcp.connect(tcpConnect).then(() => {
165 tcp.send(tcpSendOptions).then(() => {
177 tcp.close().then(() => {
182 tcp.off('message');
183 tcp.off('connect');
184 tcp.off('close');
679 let tcp: socket.TCPSocket = socket.constructTCPSocketInstance();
680 tcp.on('message', (value: SocketInfo) => {
690 tcp.on('connect', () => {
698 tcp.bind(ipAddress, (err: BusinessError) => {
713 tcp.connect(tcpConnect, (err: BusinessError) => {
721 let tlsTwoWay: socket.TLSSocket = socket.constructTLSSocketInstance(tcp);