News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Can not set option SendTimeout  
by Nick
posted on 2004/12/15

Can somebody help me?
when I set
secureSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout, 10);
secureSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendTimeout, 10);

the operathins do not timeout. they continue to wait for data receive/send

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/12/25

The preferred method is to use the asynchronous methods. Select is not supported, SetSocketOption is an 'at your own risk' function [some options may work, others may not].

by Nick
posted on 2005/01/13

Thank you very mutch

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.