Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ReadMailReallyFast
code
Merge requests
!4
Draft: Resolve "Unix Socket Server schreiben"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Draft: Resolve "Unix Socket Server schreiben"
3-unix-socket-server-schreiben
into
master
Overview
1
Commits
15
Pipelines
25
Changes
3
Merged
Leon Dietrich
requested to merge
3-unix-socket-server-schreiben
into
master
2 years ago
Overview
1
Commits
15
Pipelines
25
Changes
3
Expand
Closes
#3 (closed)
0
0
Merge request reports
Viewing commit
07274320
Show latest version
3 files
+
35
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
07274320
chg: Move local endpoint name retrieval to utility header
· 07274320
Leon Dietrich
authored
2 years ago
src/net/client_factory.hpp
+
0
−
9
Options
@@ -12,15 +12,6 @@ namespace rmrf::net {
[[
nodiscard
]]
std
::
unique_ptr
<
udp_client
>
client_factory_construct_udp_client
(
const
socketaddr
&
socket_identifier
,
connection_client
::
incomming_data_cb
cb
=
nullptr
);
[[
nodiscard
]]
std
::
unique_ptr
<
tcp_client
>
client_factory_construct_tcp_client
(
const
socketaddr
&
socket_identifier
,
connection_client
::
incomming_data_cb
cb
=
nullptr
);
/**
* This method queries the remote address of a connected client. Please note that only TCP sockets are supported
* at the moment. This operation will fail if an unsupported socket type is provided.
* @brief Get the address of the connected remote client
* @param socket The socket representing the client
* @return The remote socketaddr pair
*/
[[
nodiscard
]]
socketaddr
get_own_address_after_connect
(
const
auto_fd
&
socket
);
/**
* This method directly connects to the given address and returns an invalid pointer if it fails.
* @brief Connect to a remote destination
Loading