> Has anybody ported Kannel to Windows, without using Cygwin but using > native window solutions for threads etc.? I guess that would > need at least > rewriting some parts of the gwlib, mainly thread implementation. Then > smsc_at would also need some serious hacking.
It makes no sense to do this IMHO because of the availability of the pthreads library for WIN32. This is a relatively light implementation on top of the native WIN32 thread calls. > > Yeah, I guess cygwin would be sufficient but some people keep > asking, can > it be done without cygwin there - and I guess cygwin isn't the most > efficient one if we want to have high throughput The biggest issue with performance on WIN32 is the socket model. The BSD socket model is supported by winsock but is not optimal for performance. You'd need to rewrite the networking I/O to use MS's overlapping I/O model which I think would be difficult without architectural changes (just a guess :)) As you say, the AT module must be rewritten to use the WIN32 serial interface which is event driven and can optionally use overlapping I/O.
