---
name: "bpsink"
section: "1"
platform: "linux"
package: "ion"
version: "3.2.1+dfsg-1.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/bpsink"
---

# bpsink(1)

Bundle Protocol reception test program

## NAME

bpsink - Bundle Protocol reception test program

## SYNOPSIS

**bpsink** *ownEndpointId*

## DESCRIPTION

**bpsink** uses Bundle Protocol to receive application data units from a remote **bpsource** application task.  For each application data unit it receives, it prints the ADU's length and -- if length is less than 80 -- its text.

**bpsink** terminates upon receiving the SIGQUIT signal, i.e., ^C from the keyboard.

## EXIT STATUS

- "0"

  **bpsink** has terminated.  Any problems encountered during operation will be noted in the **ion.log** log file.

## FILES

No configuration files are needed.

## ENVIRONMENT

No environment variables apply.

## DIAGNOSTICS

Diagnostic messages produced by **bpsink** are written to the ION log file *ion.log*.

- Can't attach to BP.

  **bpadmin** has not yet initialized Bundle Protocol operations.

- Can't open own endpoint.

  Another application has already opened *ownEndpointId*.  Terminate that application and rerun.

- bpsink bundle reception failed.

  BP system error.  Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.

- Can't receive payload.

  BP system error.  Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.

- Can't handle delivery.

  BP system error.  Check for earlier diagnostic messages describing the cause of the error; correct problem and rerun.

## BUGS

Report bugs to \<ion-bugs@korgano.eecs.ohiou.edu\>

## SEE ALSO

[*bpadmin*(1)](/bpadmin/1.md), [*bpsource*(1)](/bpsource/1.md), [*bp*(3)](/bp/3.md)
