I think your question is way off topic! Most people here hate windows and windows programing. Lets hope someone can help you Gus --- In lpc2000@yahoogroups.com, "Mark Butcher" <M_J_Butcher@I...> wrote: > > Hi All > > This may seem a bit off topic - which it is as well - but I think > that some of you may be able to help. I did expressly join a > reasonably active looking VisualC++ group only to find out that 99% > of its content is advertising or job recruitment and so don't have > much hopes to receive anything worth while... > > So here is the question: > Does any one have experience with timeout limits of CSocket socket > implementation? [MFC and a bit like BSD socket support] > CSocket used CAsyncSocket and I am using it to send and receive UDP > frames. When a read is made it blocks until it receives something, > which is not what I need for my present project. What I need is the > possibility to tell it to return after a specified time (say 1 or 2 > seconds if it doesn't receive anything). > I was expecting the timeout to be set using CAsyncSocket::SetSockOpt > but it turns out that this supports a subset of BSD sockets (where > the setting is possible here) but doesn't support the setting I am > looking for. > So at the moment I doen't seem to find a solution. > > As you can imaging the embedded processor side is not the problem > here but it often has to communicate with a PC - windows in this > case.. > > Can anyone help?? > > Regards > > Mark Butcher > www.mjbc.ch >
Message
Re: UDP socket setting....
2005-11-07 by Gus
Attachments
- No local attachments were found for this message.