Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
236f986d
Commit
236f986d
authored
6 years ago
by
AndreyL ProductEngine
Browse files
Options
Downloads
Patches
Plain Diff
Backed out changeset: 871c2923afce
parent
36e89143
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
indra/llmessage/lliosocket.cpp
+2
-2
2 additions, 2 deletions
indra/llmessage/lliosocket.cpp
indra/llmessage/lliosocket.h
+1
-3
1 addition, 3 deletions
indra/llmessage/lliosocket.h
indra/test/io.cpp
+1
-2
1 addition, 2 deletions
indra/test/io.cpp
with
4 additions
and
7 deletions
indra/llmessage/lliosocket.cpp
+
2
−
2
View file @
236f986d
...
...
@@ -101,7 +101,7 @@ void ll_debug_socket(const char* msg, apr_socket_t* apr_sock)
///
// static
LLSocket
::
ptr_t
LLSocket
::
create
(
apr_pool_t
*
pool
,
EType
type
,
U16
port
,
const
char
*
hostname
)
LLSocket
::
ptr_t
LLSocket
::
create
(
apr_pool_t
*
pool
,
EType
type
,
U16
port
)
{
LLSocket
::
ptr_t
rv
;
apr_socket_t
*
socket
=
NULL
;
...
...
@@ -150,7 +150,7 @@ LLSocket::ptr_t LLSocket::create(apr_pool_t* pool, EType type, U16 port, const c
apr_sockaddr_t
*
sa
=
NULL
;
status
=
apr_sockaddr_info_get
(
&
sa
,
hostname
,
APR_ANYADDR
,
APR_UNSPEC
,
port
,
0
,
...
...
This diff is collapsed.
Click to expand it.
indra/llmessage/lliosocket.h
+
1
−
3
View file @
236f986d
...
...
@@ -96,14 +96,12 @@ class LLSocket
* and associated with the socket.
* @param type The type of socket to create
* @param port The port for the socket
* @param hostname e.g. APR_ANYADDR to listen openly, or "127.0.0.1"
* @return A valid socket shared pointer if the call worked.
*/
static
ptr_t
create
(
apr_pool_t
*
pool
,
EType
type
,
U16
port
=
PORT_EPHEMERAL
,
const
char
*
hostname
=
APR_ANYADDR
);
U16
port
=
PORT_EPHEMERAL
);
/**
* @brief Create a LLSocket when you already have an apr socket.
...
...
This diff is collapsed.
Click to expand it.
indra/test/io.cpp
+
1
−
2
View file @
236f986d
...
...
@@ -914,8 +914,7 @@ namespace tut
mSocket
=
LLSocket
::
create
(
mPool
,
LLSocket
::
STREAM_TCP
,
SERVER_LISTEN_PORT
,
"127.0.0.1"
);
SERVER_LISTEN_PORT
);
}
~
pipe_and_pump_fitness
()
...
...
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