Communication method and network adapter

The invention relates to the network communication technology, providing a communication method and a network adapter aiming at the disadvantage of communication module and application layer obstruction easily caused by abnormal network element in the existing message transmission mode. The communication method includes transmitting a preprocessing step which includes obtaining target network address from the to-be-transmitted data packet, and judging if the target network address is included in the blacklist, transmitting an indication of failed transmission if the target network address is included in the blacklist and upgrading the PRI of the target network address in the blacklist. The technical proposal provided by the invention directly returns the failure indication of the message request to send towards the network elements in the blacklist in order to realize isolation to abnormal network elements, avoid attempt to establish connection with the abnormal network elements due to the request to send, and reduce the occupation in the communication module; and returns the failure indication to the application layer in time in order to reduce obstruction in the application layer.