Page 1 of 1

Send data over internet using TCP connection...

Posted: 10 Aug 2011 21:18
by phillid
Hello, all. Just a quick question about sending data over the internet using a batch file. Does anyone know of a pair of programs that let you send data from one computer to the other by giving an IP address and a port AND be able to use it from the command line, so I could use them to create a batch internet chat system?

Thanks!

phillid

Re: Send data over internet using TCP connection...

Posted: 11 Aug 2011 14:06
by Ed Dyreen
'
Can we achieve this with :?:

Code: Select all

TelNet /?
Never tried this. :|

Re: Send data over internet using TCP connection...

Posted: 11 Aug 2011 14:10
by Acy Forsythe
Unfortunately Telnet does not utilize scripts. FTP can though, and you could theoretically setup a batch file that would accept input, save as a text file, upload to an FTP site, then sit and routinely check the FTP site for a response text file.

Without utilizing 3rd party software, that's the only way I see it happening.

EDIT:

If the two PC's are on the same network you have some other options.