Show EOL distros:
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Author: Daniel Stonier (d.stonier@gmail.com)
- License: BSD
- External website: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
- Source: svn https://embedded-control-library.googlecode.com/svn/trunk/ecl_lite
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Author: Daniel Stonier (d.stonier@gmail.com)
- License: BSD
- External website: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
- Source: svn https://embedded-control-library.googlecode.com/svn/tags/ecl_lite/fuerte
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: developed
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: groovy-devel)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: developed
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: hydro-devel)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: release/0.61-indigo-kinetic)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: developed
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: indigo-devel)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: release/0.61-indigo-kinetic)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: release/0.61-lunar)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: release/0.61-melodic)
Package Summary
Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Daniel Stonier <d.stonier AT gmail DOT com>
- License: BSD
- Bug / feature tracker: https://github.com/stonier/ecl_lite/issues
- Source: git https://github.com/stonier/ecl_lite.git (branch: release/0.61-noetic)
Contents
Overview
Api such as this are only added on an as needed basis. Up until now, its mostly been used as a sandbox for testing cross-platform api that wrap slight differences in posix and win32 functionality.
Compiling & Linking
   1 #include <ecl/io.hpp>
   2 
   3 // Cross platform functions
   4 using ecl::init_sockets;      // initialises winsock on windows.
   5 using ecl::shutdown_sockets;  // shuts down winsock on windows.
   6 using ecl::poll_sockets;      // a drop in for posix poll() on windoze.
   7 using ecl::close_socket;      // a drop in for posix socketpair() on windoze.
   8 using ecl::socket_pair;       // standardises the api for closing a socket.
   9 
Outside ros, you will also need to link to ecl_io.
Examples
- src/examples/poll.cpp 
- src/examples/sockets.cpp 
- src/examples/socketpair.cpp 
