1.

Solve : TCP and batch?

Answer»

Hey all, this would be my first post to this forum.
I have been looking for a while to see if there is any way to deal with TCP/IP through BATCH files, I don't completely understand networking, so I'm looking at this as a learning experience in terms of networking as well as batch-network communication, assuming that it is... possible?
Yeah, thanks What d'ya want to do in batch? You can copy THINGS across a network - that uses TCP/IP in most cases.Well the ultimate goal is an IRC bot, I've seen in haskell, a lazy, functional programming language, the IRC server was read as if it was a text document, which makes sense CUZ IRC seperates with a CRLF
so is it possible to read server files in that way, or whatever I'm actually looking for...Still makes no sense...
IRC is all text...Hmm? Yeah the haskell bot read through the IRC data by opening a file which represented the text data or something... I guess, and if that method is possible with batch, then I already have all of the scripts that I need to deal with that data once I have it, I just have no idea how to get there, so I'm starting by trying to understand TCPQuote from: spivee on September 29, 2013, 08:59:24 AM

Well the ultimate goal is an IRC bot

That's not something I would consider trying to achieve in batch. Use a High Level Language (HLL) to write it in.But the goal isn't to create an IRC bot, the goal is to become comfortable with any such networking capabilities available in batch. I'm aware of how I can make an IRC bot in haskel and I could find a tutorial for C++ fairly easily, but again, that isn't the goal.Quote from: spivee on September 29, 2013, 08:59:24 AM
Well the ultimate goal is an IRC bot

Quote from: spivee on September 29, 2013, 09:08:04 PM
But the goal isn't to create an IRC bot

Are you sure? That first context was TAKEN out of context, my ultimate goal is to make an irc bot in batch, ergo the goal wasn't to make an irc bot in general. Sorry for the AMBIGUITY... and the contradiction that followed


Discussion

No Comment Found