A second network device, comprising a processing module and a transceiver module, wherein the processing module is connected to the transceiver module; the transceiver module is configured to listen to a first frame, wherein the first frame is used to indicate whether a first network device supports communication between network devices; and the processing module is configured to control to transmit information with the first network device if both the first network device and the second network device support the communication between the network devices; wherein that the first frame is used to indicate whether the first network device supports communication between network devices comprises: the first frame comprises first allocation information used to indicate whether the first network device supports the communication between the network devices, wherein the first allocation information comprises a field indicating the communication between the network devices, and/or a field indicating a source network device identifier and a field indicating a target network device identifier, and characterized by the fact that the field indicating the communication between the network devices comprises a source association identifier field and a destination association identifier field that are in an allocation field in an extended schedule element, or a source association identifier field and a destination association identifier field that are in an allocation key field in a channel allocation field in an enhanced directional multi-gigabit EDMG extended schedule element; the processing module is further configured to determine that scheduling of the first network device is used for communication between network devices, if a value of the source association identifier field and a value of the destination association identifier field each are 0. the transceiver module is configured to listen to a first frame, wherein the first frame is used to indicate whether a first network device supports communication between network devices; and the processing module is configured to control to transmit information with the first network device if both the first network device and the second network device support the communication between the network devices; wherein that the first frame is used to indicate whether the first network device supports communication between network devices comprises: the first frame comprises first allocation information used to indicate whether the first network device supports the communication between the network devices, wherein the first allocation information comprises a field indicating the communication between the network devices, and/or a field indicating a source network device identifier and a field indicating a target network device identifier, and characterized by the fact that the field indicating the communication between the network devices comprises a source association identifier field and a destination association identifier field that are in an allocation field in an extended schedule element, or a source association identifier field and a destination association identifier field that are in an allocation key field in a channel allocation field in an enhanced directional multi-gigabit EDMG extended schedule element; the processing module is further configured to determine that scheduling of the first network device is used for communication between network devices, if a value of the source association identifier field and a value of the destination association identifier field each are 0.