Jump to content

To all of you who use TCPRECV


 Share

Recommended Posts

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....

Link to comment
Share on other sites

I'm kinda lost on where this is going.

Link to comment
Share on other sites

or you could use zatorg's Asynchronous sockets UDF

a good replacement for 'blocking' sockets

Asynchronous sockets UDF, No more multithreaded whining ;)

http://www.autoitscript.com/forum/index.php?showtopic=45189

I 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 with

forum post editor menu items not responding other than the bold/code/italic/underline/quote tags?

I see fascists...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...