[wx-dev] Status of the SOC2006_SOCKET branch
Albert van Peppen
Albert at insad.nl
Wed Oct 4 02:20:34 PDT 2006
Hi,
I did try my apps with the SOC code, with the same results.
So i stopped trying to get the SOC version working and focused on the
HEAD build.
I did found several 'things' which are, at least to say, 'very odd'.
For example; the use of int and size_t (meaning signed and unsigned
usage) is not done very well. It's all mixed.
Another sample: in some Read functions data is not initialised but the
function returns nonetheless (wxStreamBuffer::Read(),
wxInputStream::GetWBack()) and then an invalid value (uninitialised int
to be more precise) is used as a size to allocate the buffer (in my case
it was just 3,5 GByte :) )
And finaly i found that the event handling functions
wxTCPEventHandler::Server_OnRequest() and
xTCPEventHandler::Client_OnRequest() are not thread safe and cause all
the problems. So i am concentrating on them to be thread safe, or at
least are guarded to prevent recursive entry.
Albert
________________________________
Van: Kevin Hock [mailto:hockkn at gmail.com]
Verzonden: dinsdag 3 oktober 2006 23:49
Aan: wx-dev at lists.wxwidgets.org
Onderwerp: Re: [wx-dev] Status of the SOC2006_SOCKET branch
Hi all,
After not receiving any mail on wx-dev or wx-users for several days I
decided that my subscription was probably dumped to some fluke or
otherwise, or I would have tried to respond sooner. I have resubscribed
now.
I don't have any particular insight into this. I know that Angel tested
the SOC branch on all platforms, though I must admit I'm not sure which
compilers were used. It's entirely possible that he did not use VS 2005,
so headers needing some cleaning up wouldn't be out of the question.
The socket samples aren't particularly helpful, and last I checked, I'm
not even sure the socket sample worked on OS X even though the sockets
themselves actually work fine. Have you tried your application with the
SOC code?
Kevin
On 10/3/06, Albert van Peppen <Albert at insad.nl> wrote:
Hi all,
I've got the SOC2006_SOCKET branche compiling.
But in the socket (both DDE and TCP compiled) samples
(client/server)
the client cannot talk to the server.
Is the SOC2006_SOCKET branche ever tested at the time? And if so
by who?
Maybe I'm overseeing something?
The other IPC (DDE) sample does work.
Help :(
Albert van Peppen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20061004/4d15016b/attachment.htm
More information about the wx-dev
mailing list