Tema: Sockets
Ver Mensaje Individual
  #17 (permalink)  
Antiguo 16/11/2005, 17:50
abieliseo
 
Fecha de Ingreso: febrero-2005
Mensajes: 125
Antigüedad: 19 años, 1 mes
Puntos: 0
editen de esta forma sera mejor la lectura
Código PHP:
<? 

if($funcion=="1"){ 
$soc=fsockopen("Tu_cliente_Vb","Puerto_de servidor_Vb"); 
print 
"&soc=$soc"

if(
$funcion=="2"){ 
fputs($soc,$txt); 

if(
$funcion=="3"){ 
fclose($soc); 


?>