init
This commit is contained in:
22
server/build/GateServer/GateServerLinux.txt
Normal file
22
server/build/GateServer/GateServerLinux.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
GateServer =
|
||||
{
|
||||
--逻辑网关
|
||||
{
|
||||
--监听:客户端连接
|
||||
LocalService =
|
||||
{
|
||||
ServerName = "网关服(sid=1)",
|
||||
Address = "0.0.0.0",
|
||||
Port = 9901,
|
||||
MaxSession = 8192,--网关中客户端连接池的最大连接数
|
||||
SendThreadCount = 2,--数据发送线程池中工作线程数量
|
||||
},
|
||||
|
||||
--连接:逻辑服务器
|
||||
BackServer =
|
||||
{
|
||||
Host = "127.0.0.1",
|
||||
Port = 23001
|
||||
},
|
||||
},
|
||||
}
|
||||
BIN
server/build/GateServer/gateserver_r
Normal file
BIN
server/build/GateServer/gateserver_r
Normal file
Binary file not shown.
10
server/build/GateServer/run.sh
Normal file
10
server/build/GateServer/run.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
path=`pwd`
|
||||
|
||||
if [ "$1" == "Debug" ]; then
|
||||
$path/gateserver_d $path/GateServerLinux.txt
|
||||
else
|
||||
$path/gateserver_r $path/GateServerLinux.txt
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user