0 Пользователей и 1 Гость просматривают эту тему.
SendPacket $success = $nic->SendPacket( $packet ) This method is used to send a raw $packet to the network through the $nic adapter . "Raw packet" means that the programmer will have to build the various headers because the packet is sent to the network "*as is*". The user will not have to put a "bpf_hdr" header before the packet. Either the CRC needs not to be calculated and added to the packet, because it is transparently put after the end of the data portion by the network interface. The optimised sending process is still limited to one packet at a time: for the moment it cannot be used to send a buffer with multiple packets.