On Mon, 2004-06-07 at 08:43, William CANDILLON wrote: > Hello, > > Is there a way to send udp or tcp packet with php? > I don't find any library or extension which has this possibility. I haven't used sockets with PHP so I don;t know fo rsure, but in general, if you open a socket as AF_INET it /will/ send tcp packages, however if you want to build tcp or udp packages yourself, you need to open a raw connection, and build the packages your self. To do this open the socket in RAW mode, and then you can start pump data. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php