Send data over internet using TCP connection...

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
phillid
Posts: 109
Joined: 03 Apr 2010 20:27
Location: Wellington, New Zealand
Contact:

Send data over internet using TCP connection...

#1 Post by phillid » 10 Aug 2011 21:18

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

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

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

#2 Post by Ed Dyreen » 11 Aug 2011 14:06

'
Can we achieve this with :?:

Code: Select all

TelNet /?
Never tried this. :|

Acy Forsythe
Posts: 126
Joined: 10 Jun 2011 10:30

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

#3 Post by Acy Forsythe » 11 Aug 2011 14:10

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.

Post Reply