Re: udp and tcp packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux