Julius Ramos Posted December 6, 2005 Share Posted December 6, 2005 i try to use TCPStartup() but i got an error , and here's an error return when i runt he program ERROR: TCPStartup() [built-in] called with wrong number of args. TCPStartup ( ) ~~~~~~~~~~~~~^ i use beta v3.1.1.91 (beta) -----------------------------------------------------------BSECE, MCPAIM: juliusrmsYM: jivy_21@yahoo.comMSN: juliusLramos@hotmail.comMobile #: (Globe): +639167031989Web: http://www.trendmicro.com Link to comment Share on other sites More sharing options...
themax90 Posted December 6, 2005 Share Posted December 6, 2005 (edited) If you are using SciTe please use Alt + F5 to run it as beta otherwise make sure you have toggled the beta in Start Menu ---> Programs ---> AutoIt v3 ---> Beta ---> Toggle AU3 Beta Please repost if this works or not. AutoIt Smith Edited December 6, 2005 by AutoIt Smith Link to comment Share on other sites More sharing options...
Julius Ramos Posted December 6, 2005 Author Share Posted December 6, 2005 im now using Alt + F5 to use the beta but still i got an error. -----------------------------------------------------------BSECE, MCPAIM: juliusrmsYM: jivy_21@yahoo.comMSN: juliusLramos@hotmail.comMobile #: (Globe): +639167031989Web: http://www.trendmicro.com Link to comment Share on other sites More sharing options...
themax90 Posted December 6, 2005 Share Posted December 6, 2005 (edited) TCPStartup() should not have any spaces in it.TCPStartup()You should be running the BETA with SciTe Updated as of the download page.http://www.autoitscript.com/autoit3/scite/downloads.phpMake sure your definition files are up to date and switched to Beta .91AutoIt SmithP.S. Try my TCP Made Easy functions and see if you get the same error when NOT running from SciTe :http://www.autoitscript.com/forum/index.ph...topic=18738&hl=ExampleTCPStartUp() $MainSocket = TCPListen(@IpAddress1, 100) While 1 $ConnectedSocket = TCPAccept($MainSocket) If $ConnectedSocket <> -1 Then $Data = TCPRecv($ConnectedSocket) If $Data <> '' Then MsgBox(0, "Data Recieved", $Data) EndIf WEnd Func OnAutoItExit() TCPCloseSocket($ConnectedSocket) TCPCloseSocket($MainSocket) TCPShutdown() EndFunc Edited December 6, 2005 by AutoIt Smith Link to comment Share on other sites More sharing options...
Julius Ramos Posted December 6, 2005 Author Share Posted December 6, 2005 its now working. Thank you very much for your quick response. cheers -----------------------------------------------------------BSECE, MCPAIM: juliusrmsYM: jivy_21@yahoo.comMSN: juliusLramos@hotmail.comMobile #: (Globe): +639167031989Web: http://www.trendmicro.com Link to comment Share on other sites More sharing options...
jpm Posted December 6, 2005 Share Posted December 6, 2005 Just a small precision. TCPStartup ( ) works with beta and blank, So the problem was certainly not using the beta Link to comment Share on other sites More sharing options...
themax90 Posted December 6, 2005 Share Posted December 6, 2005 Agreed. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted December 6, 2005 Share Posted December 6, 2005 i think the problem was just scite old versions don't know the tcp-functions my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Julius Ramos Posted December 6, 2005 Author Share Posted December 6, 2005 it just only the scite not updated. when i update the scite then it works fine. -----------------------------------------------------------BSECE, MCPAIM: juliusrmsYM: jivy_21@yahoo.comMSN: juliusLramos@hotmail.comMobile #: (Globe): +639167031989Web: http://www.trendmicro.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now