Hello, I am making a chat with TCP. I have hit a road block trying to get usernames to be shown up on the client. Any help would be appreciated.
Server:
#include <Array.au3>
TCPStartup()
Global $SERVER, $SOCKET[1]
Dim $People[50];[2];Changed to 2, don't need IP.
$SERVER = TCPListen(@IPAddress1,1337)
If @error Then
MsgBox(0, "", @error)
MsgBox(0,"error","Error to listening on port 1337.")
Quit()
EndIf
$username = ""
FileOpen("File log " & @Mon & " " & @MDAY &