test tcp struct for ubuntu