这个提交包含在:
2020-03-04 10:04:54 +08:00
父节点 fcdf1f3f8e
当前提交 c2b0265bb2
共有 2 个文件被更改,包括 2 次插入 和 2 次删除

查看文件

@ -69,7 +69,7 @@ exports.add = {
Control: (function (connect, Info) { Control: (function (connect, Info) {
if (Info.message.substr(0, 4) == "获取监听") { if (Info.message.substr(0, 4) == "获取监听") {
var temp; var temp;
if (typeof ServerWeb.address() == null) { if (ServerWeb.address() == null) {
temp = -1; temp = -1;
} }
else { else {

查看文件

@ -60,7 +60,7 @@ exports.add = {
Control:((connect:net.Socket,Info:Core.InfoType)=>{ Control:((connect:net.Socket,Info:Core.InfoType)=>{
if(Info.message.substr(0,4)=="获取监听"){ if(Info.message.substr(0,4)=="获取监听"){
var temp; var temp;
if(typeof ServerWeb.address() == null){ if(ServerWeb.address() == null){
temp = -1; temp = -1;
}else{ }else{
temp = (ServerWeb.address() as net.AddressInfo).port; temp = (ServerWeb.address() as net.AddressInfo).port;