Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 09, 2018 10:52 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Adjusting the TCP Window (flow control)
PostPosted: Sat Oct 27, 2012 3:55 pm 
Offline

Joined: Sat May 26, 2007 11:37 pm
Posts: 52
Location: Tumwater, Wa
Hello All,

Does Realsoftware have the capability to adjust the TCP Window Size?
as in Flow control, and not the physical size of the icon on the window.
but more as in "Adjusting the functionality at Layer 4 of the OSI - Flow control of TCP behavior -- with adjusting the TCP Window for forcing the advertisement of the TCP Window to be small.. so I can effeciently transfer large files on slow links, that I do not have control over??

I've searched the Forums to see if this answer has come-up before, and to no avail.

Thank you in advance for reading and or replying

Thanks to all!!

_________________
• program, n.: A magic spell cast over a computer allowing it to turn one's input into error messages.
tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward


Top
 Profile  
Reply with quote  
 Post subject: Re: Adjusting the TCP Window (flow control)
PostPosted: Sun Oct 28, 2012 2:52 am 
Offline

Joined: Mon Aug 15, 2011 10:25 pm
Posts: 293
I think you can send a small amount of data and then use the Flush method of TCPSocket

_________________
Real Studio 2012r1.1 | MacBook Pro i5, 10.6.8 | Windows 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Adjusting the TCP Window (flow control)
PostPosted: Thu Nov 01, 2012 9:40 pm 
Offline

Joined: Sat May 26, 2007 11:37 pm
Posts: 52
Location: Tumwater, Wa
shaosean, thank you for the reply,

if I call Flush, does it tear down the 3-way handshake?


Thank you again

_________________
• program, n.: A magic spell cast over a computer allowing it to turn one's input into error messages.
tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward


Top
 Profile  
Reply with quote  
 Post subject: Re: Adjusting the TCP Window (flow control)
PostPosted: Fri Nov 02, 2012 12:24 am 
Offline

Joined: Mon Aug 15, 2011 10:25 pm
Posts: 293
Not certain what you mean by a three-way handshake, but I use it with a SSLSocket and the Wired protocol..

_________________
Real Studio 2012r1.1 | MacBook Pro i5, 10.6.8 | Windows 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Adjusting the TCP Window (flow control)
PostPosted: Fri Nov 02, 2012 12:55 am 
Offline

Joined: Sat May 26, 2007 11:37 pm
Posts: 52
Location: Tumwater, Wa
I think i've answered my own question about the tare down, I don't think the flush does, it sounds like it flushes the data from the buffer, and try's to send the data immediately?

the 3-way handshake is how TCP setups a connection to send information. the "client" will send a synchronized or SYN the sever will acknowledge the attempt with a Syn-ACK, the client will ack that and then send data.

thank you

_________________
• program, n.: A magic spell cast over a computer allowing it to turn one's input into error messages.
tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward


Top
 Profile  
Reply with quote  
 Post subject: Re: Adjusting the TCP Window (flow control)
PostPosted: Fri Nov 02, 2012 4:57 am 
Offline

Joined: Mon Aug 15, 2011 10:25 pm
Posts: 293
http://docs.realsoftware.com/index.php/Writeable.Flush

Quote:
Immediately sends the contents of internal write buffers to disk or to the output stream. This function can be useful in point-to-point communication over sockets and similar connections: To optimize for transmission performance, some types of output streams try to collect small pieces of written data into one larger piece for sending instead of sending each piece out individually. By calling Flush, the data collection is stopped and the data is sent without further delay, reducing latency.

_________________
Real Studio 2012r1.1 | MacBook Pro i5, 10.6.8 | Windows 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Adjusting the TCP Window (flow control)
PostPosted: Fri Nov 02, 2012 2:59 pm 
Offline

Joined: Sat May 26, 2007 11:37 pm
Posts: 52
Location: Tumwater, Wa
Thank you :oops:

should have read that first.

_________________
• program, n.: A magic spell cast over a computer allowing it to turn one's input into error messages.
tr.v. To engage in a pastime similar to banging one's head against a wall, but with fewer opportunities for reward


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group