Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: How to add Chr(2) characters to tcpModel.Write |
Brownd92 From: United Kingdom Posts: 1 Member Since: 04/28/16 |
posted April 28, 2016 9:41 AM Hi there, Id like to know how I can append a Chr(2) character to my messages when sending text to the server in VB. Im using the TCP Client example and trying to send a message to my server but I need to send Chr(2) at the start of the message and Chr(3) at the end of the message, but the server does not seem to understand? Ive tried 0x02 and 0x03 as well and not getting any result. Thanks |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted April 28, 2016 11:26 AM Hello, I've just tested this with our included Tcp Client sample against an echo server, and received the expected data ([STX]Text[ETX]): tcpModel.Write(ChrW(2) + "Text" + ChrW(3)) |
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
![]() |