Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open TCP Connection and get data

Status
Not open for further replies.

RRinTetons

IS-IT--Management
Jul 4, 2001
333
US
I need to open a TCP connection to an IPAddress:portNumber, send STX,T,ETX and write the returned data into a text file. PowerShell is a candidate for the platform due to pipelining as the data needs to do other things.

Simple request, and all the examples I find are way more complicated than I need. Any simple suggestions?

-
Richard Ray
Jackson Hole Mountain Resort
 
PS - STX,T,ETX can be sent as HEX 02 2C 54 2C 03. I don't know how to send STX and ETX in ASCII.

-
Richard Ray
Jackson Hole Mountain Resort
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top