You're welcome.Thanks Kip thumbsup.gif
Still in my fantasy(Where is our Visual AutoIt? crying.gif )
Posted 28 June 2008 - 02:48 PM
You're welcome.
Still in my fantasy![]()
code
Posted 28 June 2008 - 04:15 PM
That is so coolmweh... yeah.
code
Posted 28 June 2008 - 11:06 PM
Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()
Posted 29 June 2008 - 10:07 AM
www.AutoIt.de - Moderator of The German AutoIt Froum
Posted 29 June 2008 - 10:16 AM
Posted 29 June 2008 - 10:38 AM
www.AutoIt.de - Moderator of The German AutoIt Froum
Posted 29 June 2008 - 07:49 PM
Why not autoit have smth like TCPCreateCallback(Socket, mode, Function) (e.g. TCPCreateCallback($hSocket,$TCP_RECEIVE,"_TCPRecvEvent") or TCPCreateCallback($hSocket,$TCP_SOCKETCLOSE,"_GoodBye"))?
Edited by Kip, 29 June 2008 - 07:56 PM.
Posted 29 June 2008 - 11:42 PM
TCP.au3 7.99K
1005 downloads
Server.au3 687bytes
956 downloads
Client.au3 903bytes
991 downloads
Edited by Alek, 30 June 2008 - 12:00 AM.
Posted 30 June 2008 - 06:07 AM
Nice job AlekI 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.au3 7.99K 1005 downloads
Server.au3 687bytes 956 downloads
Client.au3 903bytes 991 downloads
Posted 30 June 2008 - 09:47 AM
This is what i get when i try to run your client code.Here is something that i think is a must for any multi-client tcp server
edit: A small chat made in 5 minuteswith this udf:X
P.S.: you need the broadcast udf
ERROR: _TcpEvent_Client_Create(): undefined function. ERROR: _TcpEvent_Client_Send(): undefined function.
Edited by goldenix, 30 June 2008 - 09:55 AM.
Posted 01 July 2008 - 09:07 PM
it used an older version than the one made by alekThis is what i get when i try to run your client code.
ERROR: _TcpEvent_Client_Create(): undefined function. ERROR: _TcpEvent_Client_Send(): undefined function.
Posted 01 July 2008 - 09:36 PM
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:
Posted 02 July 2008 - 12:08 PM
Posted 02 July 2008 - 01:36 PM
Edited by Kip, 02 July 2008 - 01:51 PM.
Posted 02 July 2008 - 01:51 PM
0 members, 0 guests, 0 anonymous users