|
From: Danny B. <dan...@sc...> - 2009-12-20 07:12:34
|
On Sat, 2009-12-19 at 08:12 -0800, Eric House wrote: > Problem with testing network code on emulators: they always have a > network connection. On a real "Smartphone", I'm learning, you have to > be prepared to handle the WSAENETDOWN error by initiating a network > connection. > > Initial reading on MSDN says this is done using the Connection > Manager, and that there's no support for that in cegcc. (Somebody > tried to contribute it a couple of years back but dropped the ball > when asked to verify the copyright situation.) > > Is there another way to establish a connection? How do the rest of > you bring up a network connection on a cell phone? http://msdn.microsoft.com/en-us/magazine/dd263096.aspx has some sample code. Looks like only very few constants are unknown, maybe guessing them is feasible. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |