Yeah, they will detect it ! Try first on WPE to see if really they detect it.
For the send packet you to know first how to work with socket then you can send a packet using this way:
Lets say that our packet is 90 64 58 2e.
BYTE[]={0x90, 0x64, 0x58, 0x2e}
then send this array. (you will know how if you'll you learn how to work with socket)