Kip Posted June 28, 2008 Author Share Posted June 28, 2008 Thanks Kip thumbsup.gifYou're welcome.(Where is our Visual AutoIt? crying.gif )Still in my fantasy MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
DexterMorgan Posted June 28, 2008 Share Posted June 28, 2008 You're welcome.Still in my fantasy You are the one making Visual Autoit ?? Cool code Link to comment Share on other sites More sharing options...
Kip Posted June 28, 2008 Author Share Posted June 28, 2008 (edited) You are the one making Visual Autoit ?? Coolmweh... yeah. Edited June 28, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
DexterMorgan Posted June 28, 2008 Share Posted June 28, 2008 mweh... yeah.That is so cool Good Luck... Seems really hard... probably is.... lol code Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted June 28, 2008 Share Posted June 28, 2008 Very nice kip, simplifies things quite a bit. Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
GtaSpider Posted June 29, 2008 Share Posted June 29, 2008 Hi Fantastic Why not autoit have smth like TCPCreateCallback(Socket, mode, Function) (e.g. TCPCreateCallback($hSocket,$TCP_RECEIVE,"_TCPRecvEvent") or TCPCreateCallback($hSocket,$TCP_SOCKETCLOSE,"_GoodBye"))? Maybe this would be a feature request THanks for your amazing script Kip Your Spider www.AutoIt.de - Moderator of the German AutoIt Forum  Link to comment Share on other sites More sharing options...
H5O20H Posted June 29, 2008 Share Posted June 29, 2008 When will this UDF be included in AutoIt? Valik, The Legendary programmer!Will be using that signature for 2 months due to my loss on a bet ): Link to comment Share on other sites More sharing options...
GtaSpider Posted June 29, 2008 Share Posted June 29, 2008 It would be better if this UDF will going to the core-functions in AutoIt. www.AutoIt.de - Moderator of the German AutoIt Forum  Link to comment Share on other sites More sharing options...
Kip Posted June 29, 2008 Author Share Posted June 29, 2008 It would be better if this UDF will going to the core-functions in AutoIt. MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Kip Posted June 29, 2008 Author Share Posted June 29, 2008 (edited) I'm already busy a much better version of this udf. It supports OnConnectionLost (That's new for autoit ), OnSendError, OnReceiveError, and more.And the new one is really event driven, not like now, that every 50ms is checked if somthing is recieved.So it also supports this:Why not autoit have smth like TCPCreateCallback(Socket, mode, Function) (e.g. TCPCreateCallback($hSocket,$TCP_RECEIVE,"_TCPRecvEvent") or TCPCreateCallback($hSocket,$TCP_SOCKETCLOSE,"_GoodBye"))? Edited June 29, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Alek Posted June 29, 2008 Share Posted June 29, 2008 (edited) I love it I cant believe no one has ever done this before (or have I missed it?!) I hope you don't mind me changing a few things on the event bit. TCP.au3Server.au3Client.au3 Edited June 30, 2008 by Alek [font="Impact"]Never fear, I is here.[/font] Link to comment Share on other sites More sharing options...
Xand3r Posted June 30, 2008 Share Posted June 30, 2008 I love it I cant believe no one has ever done this before (or have I missed it?!) I hope you don't mind me changing a few things on the event bit. TCP.au3Server.au3Client.au3 Nice job Alek Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
goldenix Posted June 30, 2008 Share Posted June 30, 2008 (edited) Here is something that i think is a must for any multi-client tcp server edit: A small chat made in 5 minutes with this udf:X P.S.: you need the broadcast udf This is what i get when i try to run your client code. ERROR: _TcpEvent_Client_Create(): undefined function. ERROR: _TcpEvent_Client_Send(): undefined function. Edited June 30, 2008 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
Xand3r Posted July 1, 2008 Share Posted July 1, 2008 This is what i get when i try to run your client code. ERROR: _TcpEvent_Client_Create(): undefined function. ERROR: _TcpEvent_Client_Send(): undefined function.it used an older version than the one made by alek Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
inet Posted July 1, 2008 Share Posted July 1, 2008 I'm already busy a much better version of this udf. It supports OnConnectionLost (That's new for autoit ), OnSendError, OnReceiveError, and more.And the new one is really event driven, not like now, that every 50ms is checked if somthing is recieved.So it also supports this:Looking forward to the new UDF then When you think you will be finishing it?? Link to comment Share on other sites More sharing options...
ptrex Posted July 2, 2008 Share Posted July 2, 2008 @KipJust a tip.The ultimate UDF would included Events but as well AsyncSocketRegards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Kip Posted July 2, 2008 Author Share Posted July 2, 2008 I'm just finished with that You're ruining the surprise MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Kip Posted July 2, 2008 Author Share Posted July 2, 2008 (edited) Ok, new UDF uploaded. It's not much simpler. I hope you can still understand the new version. This is really event driven. Using the UDF created by Zatorg. New function names, so you'll have to rewrite some stuff. Edited July 2, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
inet Posted July 2, 2008 Share Posted July 2, 2008 Very nice !!! I was looking forward to the _OnConnectionLost Function or can i achieve something like that with the funcs allready implemented? Link to comment Share on other sites More sharing options...
Kip Posted July 2, 2008 Author Share Posted July 2, 2008 I was looking forward to the _OnConnectionLost Function or can i achieve something like that with the funcs allready implemented?No MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. 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