First I would like to say that I am not making a client/server chat or anything like that. All I want to do is log all raw data that comes in and out of a port of my choice. Can anyone please show me a sample script to do something like this?
This is what I got so far, but it doesn't work:
#NoTrayIcon
#include <File.au3>
TCPStartup()
$MainSocket = TCPListen(@IPAddress1, 6112)
If $MainSocket == -1 Then
MsgBox(0, "TCP Error", "Error Listening on TCP" & @CRLF & "@error = " &