Code based on the Series 60 SDK Socket Engine example.


A simple Win32 Socket Engine for testing socket applications in the Epoc32 emulator.

Please note:By now this is pretty much obsolete. Go here for a more decent Networking.Dll.

Please note: Some things have changed :) Please read about it below. Especially, PrnESock could be of interest to you.


Here's the deal: Behind the Socket Engine interface there is an Epoc32 and a Win32 implementation. The Epoc32 impl is completely asynchronous and based on the Socket Engine example from the SDK. The Win32 however, is using a timer to periodically work on the socket commands stored in an internal command queue. Crappy? Right.. Sorry..

Therefore testing will/can result in somewhat different results.

So what's the use then?

Well, not much if you already have got a null-modem cable attached and the Epoc32 emulator configured for RAS.. :) Or a virtual COM redirector installed.. Or PrnESock.. If you, however, like me don't think this makes much sense. Then this crappy piece of code will at least give you a kickstart for testing your socket-based applications in the emulator..

BTW: There is an even crappier HTTP client thing included in the zip file. I really shouldn't call it HTTP client.. :-\


UPDATED 2003/11/04 :: Please see the HTTP Test project page for an example application doing HTTP stuff.

UPDATED 2003/11/03 :: Peroon have a replacement for the ESock.lib available. With it you can forget about my crappy W32 stuff. Check the PrnESock library out here.

UPDATED 2003/09/12 :: LATER THAT DAY :: I put together a simple example of how to use the socket engine. This shows how to compile and link it. Unfortunately this thing does not work very well. I guess there are some bugs in the crappy HTTP client code. Anyway, it shows how to use the engine. Check the links on the left.

UPDATED 2003/09/12 :: Please see the Essentials Dll project for a more complete project. If I find the time I will put up a simple example application for using the sources provided here.

UPDATED 2003/11/22 :: There's now a Networking.Dll containing many (too many) bug-fixes.