
29 Sep
2006
29 Sep
'06
4:23 p.m.
----Original Message---- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] 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@Pitechnology.com Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894