Boost logo

Boost :

From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2006-09-29 12:23:28


----Original Message----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of Scott

[snip]
> So, if I understand correctly, the UI should *not* be using the
> socket class because we spawn a background thread to receive
> data on that socket?

Don't know about ASIO, but on general principles, I would tend to get
the UI thread to post a windows message to the background thread (or
similar inter-thread comms protocol) and ask the background thread to
send the message to the server.

-- 
Martin Bonner
Martin.Bonner_at_[hidden]
Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ,
ENGLAND Tel: +44 (0)1223 203894

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk