wrote code for sending a SYN packet