erezlevi Posted February 3, 2008 Posted February 3, 2008 hi, to all of you that use TCPRecv on a connected socket it is important to know that TCPRecv works well on raw-data but for burst data (data occupying a screen of 80x25 in 3 packets for example or 20+ raws recv at once) unless you will do the following: TCPsend (blablabla - command to send to server) Sleep(1000) ; yeh amaizning ah... 1 sec I couldn't beleive it either! and it is on the local-LAN!!!! I think it is because of the time it takes the packet to get to the application for processing or something.... $m = TCPRecv($ConnectedSocket, 16000, 0) hope it will help whoever use Telnet emulation using AutoIT like me....
McGod Posted February 3, 2008 Posted February 3, 2008 I'm kinda lost on where this is going. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u]
danielkza Posted February 3, 2008 Posted February 3, 2008 I'm kinda lost on where this is going.I think he meant that multiple sequencial receives from a socket are only possible with Sleep() beetween them,even on local Conections.
rover Posted February 5, 2008 Posted February 5, 2008 or you could use zatorg's Asynchronous sockets UDFa good replacement for 'blocking' socketsAsynchronous sockets UDF, No more multithreaded whining http://www.autoitscript.com/forum/index.php?showtopic=45189I used this for a firewall syslog monitor (modified for UDP)excuse the url link.my firefox must be borked...is it me or is anyone else having problems now withforum post editor menu items not responding other than the bold/code/italic/underline/quote tags? I see fascists...
Mast3rpyr0 Posted February 5, 2008 Posted February 5, 2008 so.. whats the question? My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here!
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