pub fn create_hup_message(
    msg_id: u16,
    session_id: u32,
    error_code: u32) -> ControlMessage<HupMessage> {
    ControlMessage::new(msg_id, CMSG_HUP, 
        HupMessage::new(session_id, error_code))
}
/// Create a new HUP message for a given message ID, session ID and error code.
Create a new HUP message for a given message ID, session ID and error code.
Create a new HUP message for a given message ID session ID and error code .
pub fn create_hup_message(
    msg_id: u16,
    session_id: u32,
    error_code: u32) -> ControlMessage<HupMessage> {
    ControlMessage::new(msg_id, CMSG_HUP, 
        HupMessage::new(session_id, error_code))
}
pub fn create_hup_message ( msg_id : u16 , session_id : u32 , error_code : u32 ) -> ControlMessage < HupMessage > { ControlMessage :: new ( msg_id , CMSG_HUP , HupMessage :: new ( session_id , error_code ) ) }
Create a new HUP message for a given message ID, session ID and error code.
Create a new HUP message for a given message ID session ID and error code .
msg_id
u16
session_id
u32
error_code
u32
msg_id
u16
session_id
u32
error_code
u32