Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Linux programozás nagyházi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eckl, Máté
Linux programozás nagyházi
Commits
ad185a6b
Commit
ad185a6b
authored
May 27, 2016
by
dnsadmin
Browse files
Options
Downloads
Patches
Plain Diff
Timeoutok dokumentálása
parent
64c1b7ac
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
dns.db
+0
-0
0 additions, 0 deletions
dns.db
include/IPC_US_communicator.h
+9
-0
9 additions, 0 deletions
include/IPC_US_communicator.h
include/dns_server.h
+1
-0
1 addition, 0 deletions
include/dns_server.h
with
10 additions
and
0 deletions
dns.db
+
0
−
0
View file @
ad185a6b
No preview for this file type
This diff is collapsed.
Click to expand it.
include/IPC_US_communicator.h
+
9
−
0
View file @
ad185a6b
...
@@ -25,6 +25,15 @@ class IPC_US_communicator
...
@@ -25,6 +25,15 @@ class IPC_US_communicator
udp_socket_wp
comm_sock
;
/** Socket to which messages will be sent */
udp_socket_wp
comm_sock
;
/** Socket to which messages will be sent */
IPC_US_communicator
(
const
IPC_US_communicator
&
orig
);
IPC_US_communicator
(
const
IPC_US_communicator
&
orig
);
public:
public:
/**
* Creates an IPC object in the role of the server if master is true,
* and in the role of the controller otherwise.
* A 5 sec timeout is set to the socket.
* @param socket_path Path to create the socket.
* It will be uesd for abstract namespace UNIX domain socket.
* @param master Signts if the object would play the role of a server
* or a controller.
*/
IPC_US_communicator
(
std
::
string
socket_path
,
const
bool
master
);
IPC_US_communicator
(
std
::
string
socket_path
,
const
bool
master
);
virtual
~
IPC_US_communicator
();
virtual
~
IPC_US_communicator
();
...
...
This diff is collapsed.
Click to expand it.
include/dns_server.h
+
1
−
0
View file @
ad185a6b
...
@@ -55,6 +55,7 @@ public:
...
@@ -55,6 +55,7 @@ public:
/**
/**
* Binds the server to the sockaddr specified.
* Binds the server to the sockaddr specified.
* It sets a 2 sec timeout to the socket.
* @param addr Sockaddr to bind to
* @param addr Sockaddr to bind to
*/
*/
void
init
(
const
general_sockaddr_wp
&
addr
);
void
init
(
const
general_sockaddr_wp
&
addr
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment