Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] ?what is the different bettween 1119 and 8081? is the 1119 use the TCP

[DiscordArchive] ?what is the different bettween 1119 and 8081? is the 1119 use the TCP

[DiscordArchive] ?what is the different bettween 1119 and 8081? is the 1119 use the TCP

Pages (6): Previous 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
02-26-2021, 02:32 PM
#31
Archived author: MaxtorCoder • Posted: 2021-02-26T14:32:06.303000+00:00
Original source

Please wrap the code in code blocks
rektbyfaith
02-26-2021, 02:32 PM #31

Archived author: MaxtorCoder • Posted: 2021-02-26T14:32:06.303000+00:00
Original source

Please wrap the code in code blocks

rektbyfaith
Administrator
0
02-26-2021, 02:32 PM
#32
Archived author: MaxtorCoder • Posted: 2021-02-26T14:32:12.971000+00:00
Original source

\```cpp
//code
\```
rektbyfaith
02-26-2021, 02:32 PM #32

Archived author: MaxtorCoder • Posted: 2021-02-26T14:32:12.971000+00:00
Original source

\```cpp
//code
\```

rektbyfaith
Administrator
0
02-26-2021, 02:32 PM
#33
Archived author: JORGIE • Posted: 2021-02-26T14:32:31.235000+00:00
Original source

OK.
rektbyfaith
02-26-2021, 02:32 PM #33

Archived author: JORGIE • Posted: 2021-02-26T14:32:31.235000+00:00
Original source

OK.

rektbyfaith
Administrator
0
02-26-2021, 02:33 PM
#34
Archived author: M'Dic • Posted: 2021-02-26T14:33:20.481000+00:00
Original source

``` it will look like this ```
rektbyfaith
02-26-2021, 02:33 PM #34

Archived author: M'Dic • Posted: 2021-02-26T14:33:20.481000+00:00
Original source

``` it will look like this ```

rektbyfaith
Administrator
0
02-26-2021, 02:33 PM
#35
Archived author: M'Dic • Posted: 2021-02-26T14:33:27.765000+00:00
Original source

makes it easier to read and better formated
rektbyfaith
02-26-2021, 02:33 PM #35

Archived author: M'Dic • Posted: 2021-02-26T14:33:27.765000+00:00
Original source

makes it easier to read and better formated

rektbyfaith
Administrator
0
02-26-2021, 02:33 PM
#36
Archived author: JORGIE • Posted: 2021-02-26T14:33:28.014000+00:00
Original source

```cpp


void LoginRESTService::Run()
{
soap soapServer(SOAP_C_UTFSTRING, SOAP_C_UTFSTRING);

// check every 3 seconds if world ended
soapServer.accept_timeout = 3;
soapServer.recv_timeout = 5;
soapServer.send_timeout = 5;
if (!soap_valid_socket(soap_bind(&soapServer, _bindIP.c_str(), _port, 100)))
{
TC_LOG_ERROR("server.rest", "Couldn't bind to %s:%d", _bindIP.c_str(), _port);
return;
}

TC_LOG_INFO("server.rest", "Login service bound to http://%s:%d", _bindIP.c_str(), _port);
}
}


```
rektbyfaith
02-26-2021, 02:33 PM #36

Archived author: JORGIE • Posted: 2021-02-26T14:33:28.014000+00:00
Original source

```cpp


void LoginRESTService::Run()
{
soap soapServer(SOAP_C_UTFSTRING, SOAP_C_UTFSTRING);

// check every 3 seconds if world ended
soapServer.accept_timeout = 3;
soapServer.recv_timeout = 5;
soapServer.send_timeout = 5;
if (!soap_valid_socket(soap_bind(&soapServer, _bindIP.c_str(), _port, 100)))
{
TC_LOG_ERROR("server.rest", "Couldn't bind to %s:%d", _bindIP.c_str(), _port);
return;
}

TC_LOG_INFO("server.rest", "Login service bound to http://%s:%d", _bindIP.c_str(), _port);
}
}


```

rektbyfaith
Administrator
0
02-26-2021, 02:34 PM
#37
Archived author: JORGIE • Posted: 2021-02-26T14:34:52.064000+00:00
Original source

in master benetserver, we have lanched a soap server that used the 8081 port
rektbyfaith
02-26-2021, 02:34 PM #37

Archived author: JORGIE • Posted: 2021-02-26T14:34:52.064000+00:00
Original source

in master benetserver, we have lanched a soap server that used the 8081 port

rektbyfaith
Administrator
0
02-26-2021, 02:36 PM
#38
Archived author: JORGIE • Posted: 2021-02-26T14:36:44.870000+00:00
Original source

and we also launched a grpc server that use 1119
rektbyfaith
02-26-2021, 02:36 PM #38

Archived author: JORGIE • Posted: 2021-02-26T14:36:44.870000+00:00
Original source

and we also launched a grpc server that use 1119

rektbyfaith
Administrator
0
02-26-2021, 02:37 PM
#39
Archived author: JORGIE • Posted: 2021-02-26T14:37:33.791000+00:00
Original source

```cpp
// Start the listening port (acceptor) for auth connections
int32 bnport = sConfigMgr->GetIntDefault("BattlenetPort", 1119);
if (bnport < 0 || bnport > 0xFFFF)
{
TC_LOG_ERROR("server.bnetserver", "Specified battle.net port (%d) out of allowed range (1-65535)", bnport);
return 1;
}

if (!sSessionMgr.StartNetwork(*ioContext, bindIp, bnport))
{
TC_LOG_ERROR("server.bnetserver", "Failed to initialize network");
return 1;
}

```
rektbyfaith
02-26-2021, 02:37 PM #39

Archived author: JORGIE • Posted: 2021-02-26T14:37:33.791000+00:00
Original source

```cpp
// Start the listening port (acceptor) for auth connections
int32 bnport = sConfigMgr->GetIntDefault("BattlenetPort", 1119);
if (bnport < 0 || bnport > 0xFFFF)
{
TC_LOG_ERROR("server.bnetserver", "Specified battle.net port (%d) out of allowed range (1-65535)", bnport);
return 1;
}

if (!sSessionMgr.StartNetwork(*ioContext, bindIp, bnport))
{
TC_LOG_ERROR("server.bnetserver", "Failed to initialize network");
return 1;
}

```

rektbyfaith
Administrator
0
02-26-2021, 02:39 PM
#40
Archived author: JORGIE • Posted: 2021-02-26T14:39:32.447000+00:00
Original source

so, what is the different bettween 1119 and 8081? the 8081 is not worldserver
rektbyfaith
02-26-2021, 02:39 PM #40

Archived author: JORGIE • Posted: 2021-02-26T14:39:32.447000+00:00
Original source

so, what is the different bettween 1119 and 8081? the 8081 is not worldserver

Pages (6): Previous 1 2 3 4 5 6 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)