#33 2.6.8.1-co-0.6.2-pre1 coserial

closed
Dan Aloni
None
5
2005-03-01
2004-09-12
BJH
No

This updates coserial-daemon and adds coserial-dll.

.../colinux/src/colinux/os/winnt/user/coserial-daemon/*
.../colinux/src/colinux/os/winnt/user/coserial-dll/*

Coserial-daemon used an outdated method to read and
write data from standard input and the daemon. This
update lets coserial-daemon open coserial-dll to use
refactorable code and comply with standards to pass
messages over the daemon queue easier. It simplified
the standard input read and write to synchronus
functions which makes it easier for other to read the
code and translate to other languages.

Coserial-dll adds refactorable functions that helps a
programmer to access coserial. It uses the standard
user-daemon queue to handle such serial messages. The
DLL is easily imported to any language that supports
DLL imports.

One use for coserial-dll is used to enable programmers
to write zero-configuration programs. It works good
for acess to colinux for pre-network set-up and install.

Another use is to act as a "connection trapping" device
as explained in the wiki.

While the DLL is NT specific code, we could write
another os/linux/user/coserial-daemon that does not use
a DLL or WINAPI, and we'll still have compatible features.

Discussion

  • BJH
    BJH
    2004-09-12

    • assigned_to: nobody --> da-x
     
  • peter green
    peter green
    2004-09-12

    Logged In: YES
    user_id=418950

    there still seems to be an outstanding issue with 100% cpu
    use even after data transfer has stopped

    i would therefore advise holding off on applying this patch
    for the moment

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=30412

    This or an re-worked version has been applied.