关闭套接字接口

This commit is contained in:
boyce
2020-02-11 15:53:35 +08:00
parent b2f7b18aaa
commit f9d6029307
2 changed files with 17 additions and 1 deletions

View File

@@ -153,4 +153,10 @@ func GetTcpSocketPbService(serviceName string) *TcpSocketPbService{
func (slf *TcpSocketPbService) SendMsg(clientid uint64,packtype uint16,message proto.Message) error{
return slf.tcpsocketserver.SendMsg(clientid,packtype,message)
}
}
func (slf *TcpSocketPbService) Close(clientid uint64) error{
return slf.tcpsocketserver.Close(clientid)
}