pv6999 Posted November 10, 2008 Share Posted November 10, 2008 hi , i try to create my own TCP paquets with php socket function with differents flags like (SYN, RST, ACK...) , i found an exemple to do ICMP paquet with socket_create(AF_INET, SOCK_RAW, 1) ex : $type= "\x08"; $code= "\x00"; $checksum= "\x00\x00"; $identifier = "\x00\x00"; $seqNumber = "\x00\x00"; How can i use socket_create(AF_INET, SOCK_RAW, 6) to create my paquets. thanks Link to comment https://forums.phpfreaks.com/topic/132123-socket_create/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.