Jump to content

Nanard

Members
  • Posts

    5
  • Joined

  • Last visited

Nanard's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I'm getting same result with Avast. Compiling with the most recent Autoit release seems to fix the problem. The issue for me is the updater of my software has been compiled with a former version. So I'm going to distribute "manually" a new updater so that they can update the program "automatically". It makes no sense, but have no choice... Thanks to the so called PC health business. And while I'm at it, let me tell you autoit is just fantastic. My prog features FTP, HTTP, Peer to peer file transfer, Client/Server connection, Reg key edition, multiple file access, File check sum, several languages and so on. It's delivered with a clean UI. Autoit code is easy to write and maybe the most important, easy to read even after a year of standby. Congrats to the staff muttley
  2. Fixed with 1.1.124 beta, thanks...
  3. Well, weird problem here : I need to update a remote server file when I quit my server program, in case I forget to click on the disconnect button. So I duplicate the function linked to this button into the OnAutoItExit() function : Func OnAutoItExit() ;download the current server list $file_lobby = InetGet("http://myserver/lobby.txt", @ScriptDir & "\lobby.txt", 1, 0) ;update the server list locally IniWrite (@ScriptDir & "\lobby.txt", GuiCtrlRead($input_nickname), "Active","No") ;upload the updated server list $name_file = "\lobby.txt" $Open = _FTPOpen("MyFTP") $Conn = _FTPConnect($Open, "myFTP", "login", "password) If $Conn = 0 Then MsgBox(48, $txt_ftp_problem , $txt_ftp_diagnostic1) $Ftpc = _FTPClose($Open) Else $Ftpp = 0 $Ftpp = _FtpPutFile($Conn, @ScriptDir & "\lobby.txt", "remote_path" ) If $Ftpp = 1 Then Else MsgBox(48,$txt_ftp_problem, $txt_ftp_diagnostic2) EndIf $Ftpc = _FTPClose($Open) EndIf EndFunc It seems the InetGet function is porked when called inside the OnAutoItExit function : it returns an empty file each and everytime... though the remote file is not empty at all... Running 1.1.118 beta Any idea?
  4. K, I think I found the fatal error : Client was listening on the server IP!!!
  5. Hi all, and thanks for all support I found here. I tried to implement a chat into a program I made a few months ago. So I gathered all infos I could find in this forums, including AutoItSmith's and Larry's and tweaked them a lot Thanks to them. I still have a problem with it (I'm running both client and server on my own PC) - server listening to the LAN IP and the client connecting to the same LAN IP --> very well - server listening to the LAN IP and the client trying to connect to server through the WAN IP --> socket error 10061 clientside I have to add that my router forwards the port I'm using to my machine. I don't post the full code, since the varies name are written in french, and this may be hard to understand... I jut would like to tell you that since I'm using the Opt("GUIOnEventMode", 1) option, I had to call a Adlibenable("TCP_scan", 100). Any thought?
×
×
  • Create New...