cortex_recv_frame Subroutine

public subroutine cortex_recv_frame(fd, header, payload)

Receive a length-prefixed frame. Both header and payload are returned as allocatable byte arrays (caller owns).

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: fd
integer(kind=int8), intent(out), allocatable :: header(:)
integer(kind=int8), intent(out), allocatable :: payload(:)