Procházet zdrojové kódy

fileRecvDemo 端口更改

walkor před 11 roky
rodič
revize
f28d1721c4

+ 1 - 1
applications/FileReceiverDemo/ClientDemo.php

@@ -18,7 +18,7 @@ if(false === ($file_bin_data = file_get_contents($file_path)))
     exit("can not get contents of $file_path\n");
 }
 
-$address = "tcp://127.0.0.1:2015";
+$address = "tcp://127.0.0.1:2016";
 if(!($sock = stream_socket_client($address, $err_no, $err_str)))
 {
     exit("can not connect to $address $err_str");

+ 1 - 1
conf/conf.d/FileReceiverDemo.conf

@@ -1,5 +1,5 @@
 ;监听ip及端口
-listen = tcp://0.0.0.0:2015
+listen = tcp://0.0.0.0:2016
 ;是否需要长连接 看自己应用场景
 persistent_connection = 1
 ;启动多少进程