ChorusOS 5.0 Application Developer's Guide

The LAPBIND Feature

The LAPBIND feature provides a nameserver from which a LAP descriptor may be requested and obtained indirectly, using a static symbolic name. This symbolic name may be an arbitrary character string, whose size is limited to K_LAPNAMEMAX (currently set to 7 characters) . Otherwise, svLapBind returns K_ENOMEM. Using the nameserver, a LAP may be exported to any potential client that knows the symbolic name of the LAP (or of the service exported by the LAP).

A server may optionally establish a name binding using svLapBind(2K). The binding can be removed using svLapUnbind(2K). A client uses lapResolve(2K) to obtain a LAP descriptor, given its symbolic name, and optionally waiting if the name is not yet available.