Results 1 to 40 of 273

Thread: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

Threaded View

  1. #10
    New Member
    Join Date
    Jan 2012
    Location
    Antioch, CA
    Posts
    3

    Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient

    Hi. Newbie here.

    I would like to try and write a program in VB 2010 that queries and receives data to/from a technical instrument (an RF spectrum analyzer). The analyzer requires that the ASCII codes STX (0x02 - start of text) and ETX (0x03 - end of text) be sent to it before and after each query (example - Chr(STX) & "frequency?" & Chr(ETX) ). The analyzer only accepts the standard 128 character ASCII table.

    I believe that I read that jmcilhinney's Wunnell code converts everything to binary before sending, because it expects the server to translate it back (so as to accommodate unicode characters).

    Can anybody tell me what lines need to be changed in order to send and receive standard ASCII?
    Last edited by sherrel; Jan 11th, 2012 at 11:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width