mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-03-21 18:04:11 -05:00
nexServerStart->startNEXServer
This commit is contained in:
parent
fab5c19aef
commit
5de811eefc
2
main.go
2
main.go
|
|
@ -16,7 +16,7 @@ func main() {
|
|||
wg.Add(2)
|
||||
|
||||
go startGRPCServer()
|
||||
go nexServerStart()
|
||||
go startNEXServer()
|
||||
|
||||
wg.Wait()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
nex "github.com/PretendoNetwork/nex-go"
|
||||
)
|
||||
|
||||
func nexServerStart() {
|
||||
func startNEXServer() {
|
||||
globals.NEXServer = nex.NewServer()
|
||||
globals.NEXServer.SetFragmentSize(900)
|
||||
globals.NEXServer.SetPrudpVersion(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user