I'm just wondering if it's possible to create a socket through batch, because I haven't been able to find anything about them?
Not that I've ever heard of, assuming you're talking about batch files.
Yep. Thanks then.
You could create a program that would make a socket, and then run the program via the batch file.
That's not what I wanted to do though. I was wondering if a basic telnet bot would be feasable through batch only.
I haven't really done anything with batch files, but couldn't you telnet <server> 6112 to start a connection?
If that's not what you mean, terribly sorry. I must be confused. :(
Yes, but that's just running a batch file that then runs telnet. I was looking for a way to make a chat client explicitly in batch.
No, you can't do that without calling external programs. Why would you want to do such a thing, anyway?
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
Quote from: R.a.B.B.i.T on November 07, 2004, 04:48 PM
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
Shellcode!
Quote from: R.a.B.B.i.T on November 07, 2004, 04:48 PM
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
You can use any language in notepad. An IDE's sole purpose is to make the process easier on you, it is not required.
Quote from: Tuberload on November 07, 2004, 05:50 PM
Quote from: R.a.B.B.i.T on November 07, 2004, 04:48 PM
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
You can use any language in notepad. An IDE's sole purpose is to make the process easier on you, it is not required.
I could never imagine coding projects in notepad though. :)
Quote from: Mephisto on November 07, 2004, 09:17 PM
Quote from: Tuberload on November 07, 2004, 05:50 PM
Quote from: R.a.B.B.i.T on November 07, 2004, 04:48 PM
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
You can use any language in notepad. An IDE's sole purpose is to make the process easier on you, it is not required.
I could never imagine coding projects in notepad though. :)
I could never imaging coding C on Linux in an IDE. :)
Quote from: Newby on November 07, 2004, 10:58 PM
Quote from: Mephisto on November 07, 2004, 09:17 PM
Quote from: Tuberload on November 07, 2004, 05:50 PM
Quote from: R.a.B.B.i.T on November 07, 2004, 04:48 PM
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
You can use any language in notepad. An IDE's sole purpose is to make the process easier on you, it is not required.
I could never imagine coding projects in notepad though. :)
I could never imaging coding C on Linux in an IDE. :)
??
Quote from: Newby on November 07, 2004, 10:58 PM
Quote from: Mephisto on November 07, 2004, 09:17 PM
Quote from: Tuberload on November 07, 2004, 05:50 PM
Quote from: R.a.B.B.i.T on November 07, 2004, 04:48 PM
Say "look, I made a bot in batch!"
Also, I'd like to just get a good grasp of another language that I can make in notepad.
You can use any language in notepad. An IDE's sole purpose is to make the process easier on you, it is not required.
I could never imagine coding projects in notepad though. :)
I could never imaging coding C on Linux in an IDE. :)
IDEs are good. I wouldn't want to use gdb directly to debug.
Quote from: Yoni on November 08, 2004, 07:22 AMIDEs are good. I wouldn't want to use gdb directly to debug.
Wimp. ;) Direct gdb is easy.
I once knew how to use direct gdb, but I forget now :(
To answer the original question -- RaBBiT, look up a program call netcat. It can be used quite well for batch sockets.
I use emacs + print statements for debugging.
If you want a real challenge, code it in Scheme.
What I meant by the notepad comment was the ability to code in notpad and immediately run without compiling, etc...
[edit]
Thanks, iago, I'll look into that.