Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
369725ab
Commit
369725ab
authored
Jun 23, 2014
by
Richard Newton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix windows build
parent
de3832d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
CMakeLists.txt
CMakeLists.txt
+2
-0
socks.cpp
src/socks.cpp
+5
-2
socks_connecter.hpp
src/socks_connecter.hpp
+1
-1
No files found.
CMakeLists.txt
View file @
369725ab
...
...
@@ -419,6 +419,8 @@ set(cxx-sources
session_base.cpp
signaler.cpp
socket_base.cpp
socks.cpp
socks_connecter.cpp
stream.cpp
stream_engine.cpp
sub.cpp
...
...
src/socks.cpp
View file @
369725ab
...
...
@@ -18,14 +18,17 @@
*/
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include "err.hpp"
#include "platform.hpp"
#include "socks.hpp"
#include "tcp.hpp"
#ifndef ZMQ_HAVE_WINDOWS
#include <sys/socket.h>
#include <netdb.h>
#endif
zmq
::
socks_greeting_t
::
socks_greeting_t
(
uint8_t
method_
)
:
num_methods
(
1
)
{
...
...
src/socks_connecter.hpp
View file @
369725ab
...
...
@@ -102,7 +102,7 @@ namespace zmq
// Get the file descriptor of newly created connection. Returns
// retired_fd if the connection was unsuccessfull.
in
t
check_proxy_connection
();
zmq
::
fd_
t
check_proxy_connection
();
socks_greeting_encoder_t
greeting_encoder
;
socks_choice_decoder_t
choice_decoder
;
...
...
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