Code: Select all
_ |_ _ . _
|_) |_ | ) | (_)
|
So, it opens the Batch programming to the whole world of networking.
What can you do with? :
- inter-batch communication
- network batch games (a pretty broken one from an old project)
- a web server (http only) (please use dos9 instead of regular cmd due to a weird cmd bug with pipe)
- a web client (http only)
- a ftp client/server
- a remote console
- IPv6
What can you theorically do with ? : (let's be crasy )
- A Discord bot
- A Minecraft server/client
- A web browser (what ?)
- a bittorent client (maybe)
What can't you do (currently) ? :
- a Fortnite client (no UDP, no chocolate )
- something that use UDP (e.g ENet) or something else than TCP (e.g SCTP)
How ? : ptnio uses a custom inter-process communication mecanism that permit to run in the process in the background and interact it using '-c' argument.
There is a lot a things behind the scene that will be explained later, in a document.
But, you can hack into the source code (C)
Is that fake/bullshit ? : No, you can check it by yourself with source code there : https://gitlab.com/TSnake41/darkbox/tree/master/ptnio
Downloads:
- ptnio + few examples
- 'dist' archive (with darkbox, tcc, and many other things) (Coming Soon)
- Source code or darkbox-master.zip
If you can't open the archive, please use 7-Zip (which is fully free)
How to use this ?: There is a small documentation and you can check examples/tests.
Tips :
- localhost (current computer) : 127.0.0.1 (or ::1 with IPv6)
- listen from anywhere ip : 0.0.0.0
e.g : receiver_test : IP=0.0.0.0, PORT=whatever port; sender_test : IP=127.0.0.1, PORT=same as receiver.
Few details on ptnio.exe :
- Size: 20 kio
- Compiler used : Tiny C Compiler
- Virustotal anaysis 3/67
- Developpment platforms (works on all of them) : XP, 10, Linux (with Dos9)