Behavior of SIO_FLUSH

When SIO_FLUSH socket ioctl is used in a Windows environment (in user space), I am confused as to what happens. Does this: (1) completely discard the data from the TCP/IP send queue into a black hole, or (2) push the queued send data across the connection until the buffer is empty, or (3) something else? Thanks!


With Windows, you can never be sure. However, this(search for SIOFLUSH) says it discards the send queue associated with the socket. This is what I also expect when I use SIO_FLUSH

Need Your Help

facebook Security Warning while user has enabled secure login - iPhone

iphone ios objective-c facebook-graph-api fb-graph

I am working on an application which uses FB login. For login from faceBook I am using FBGraph and it works fine if users have disabled secure login in their account, but if user enables the secure...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.