Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
Libraries
UERANSIM
Commits
60936988
Commit
60936988
authored
Dec 07, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6 support
parent
12de88b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
src/utils/network.cpp
src/utils/network.cpp
+0
-10
src/utils/network.hpp
src/utils/network.hpp
+0
-2
No files found.
src/utils/network.cpp
View file @
60936988
...
...
@@ -138,16 +138,6 @@ Socket Socket::CreateUdp6()
return
{
AF_INET6
,
SOCK_DGRAM
,
IPPROTO_UDP
};
}
Socket
Socket
::
CreateTcp4
()
{
return
{
AF_INET
,
SOCK_STREAM
,
IPPROTO_TCP
};
}
Socket
Socket
::
CreateTcp6
()
{
return
{
AF_INET6
,
SOCK_STREAM
,
IPPROTO_TCP
};
}
Socket
::
Socket
()
:
fd
(
-
1
),
domain
(
0
)
{
}
...
...
src/utils/network.hpp
View file @
60936988
...
...
@@ -69,8 +69,6 @@ class Socket
static
Socket
CreateAndBindTcp
(
const
InetAddress
&
address
);
static
Socket
CreateUdp4
();
static
Socket
CreateUdp6
();
static
Socket
CreateTcp4
();
static
Socket
CreateTcp6
();
static
bool
Select
(
const
std
::
vector
<
Socket
>
&
inReadSockets
,
const
std
::
vector
<
Socket
>
&
inWriteSockets
,
std
::
vector
<
Socket
>
&
outReadSockets
,
std
::
vector
<
Socket
>
&
outWriteSockets
,
int
timeout
=
0
);
...
...
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