Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AKABA RIJI
MDPro3
Commits
a1e2fed8
Commit
a1e2fed8
authored
Jul 20, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable local connection only restriction when Pro2 support is enabled
parent
81a5e2f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Tools/YGO Classes/ygoserver/netserver.cpp
Tools/YGO Classes/ygoserver/netserver.cpp
+3
-3
No files found.
Tools/YGO Classes/ygoserver/netserver.cpp
View file @
a1e2fed8
...
...
@@ -88,9 +88,9 @@ bool NetServer::StartServer(unsigned short port) {
memset
(
&
sin
,
0
,
sizeof
(
sin
));
server_port
=
port
;
sin
.
sin_family
=
AF_INET
;
#ifdef SERVER_PRO2_SUPPORT
sin
.
sin_addr
.
s_addr
=
htonl
(
INADDR_LOOPBACK
);
#else
//
#ifdef SERVER_PRO2_SUPPORT
//
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
//
#else
sin
.
sin_addr
.
s_addr
=
htonl
(
INADDR_ANY
);
#endif
sin
.
sin_port
=
htons
(
port
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment