UDPFile_receiver.py
def MESSAGE_start_transfer(self):
        ''' This function returns byte array of full message
        to be sent as request to transfering file data '''
        
        ## Write header
        header = self.get_empty_header(header_byte_size=self.header_size)
        header[0] = ord(str(MESSAGE_TYPES['file_start_transfer']))
        
        ## Write body
        body = self.get_empty_body(body_byte_size=FILE_START_TRANSFER_BODY_SIZE)
        # Iterate path to file and save the ASCII chars to array
        
        # Write in crc at the end of the body
        message_without_crc = np.concatenate((header, body), axis=None)
        message_with_crc = append_crc_to_message(message_without_crc)
        
        return message_with_crc
 This function returns byte array of full message
        to be sent as request to transfering file data 
This function returns byte array of full message
to be sent as request to transfering file data
This function returns byte array of full message to be sent as request to transfering file data
def MESSAGE_start_transfer(self):
        header = self.get_empty_header(header_byte_size=self.header_size)
        header[0] = ord(str(MESSAGE_TYPES['file_start_transfer']))
        body = self.get_empty_body(body_byte_size=FILE_START_TRANSFER_BODY_SIZE)
        message_without_crc = np.concatenate((header, body), axis=None)
        message_with_crc = append_crc_to_message(message_without_crc)
        return message_with_crc
def MESSAGE_start_transfer ( self ) : header = self . get_empty_header ( header_byte_size = self . header_size ) header [ 0 ] = ord ( str ( MESSAGE_TYPES [ 'file_start_transfer' ] ) ) body = self . get_empty_body ( body_byte_size = FILE_START_TRANSFER_BODY_SIZE ) message_without_crc = np . concatenate ( ( header , body ) , axis = None ) message_with_crc = append_crc_to_message ( message_without_crc ) return message_with_crc
This function returns byte array of full message
to be sent as request to transfering file data
This function returns byte array of full message to be sent as request to transfering file data
''' This function returns byte array of full message
        to be sent as request to transfering file data ''' ## Write header
 ## Write body
 # Iterate path to file and save the ASCII chars to array
 # Write in crc at the end of the body

self