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
2ddce205
Commit
2ddce205
authored
Feb 16, 2010
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git@github.com:sustrik/zeromq2
parents
43620b3d
a2f9899f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
37 additions
and
13 deletions
+37
-13
.gitignore
.gitignore
+5
-2
AUTHORS
AUTHORS
+1
-0
COPYING
COPYING
+0
-0
Makefile.am
Makefile.am
+5
-2
zmq.h
bindings/c/zmq.h
+1
-0
Makefile.am
bindings/java/Makefile.am
+2
-1
configure.in
configure.in
+0
-0
zmq_poll.txt
doc/zmq_poll.txt
+2
-1
Makefile.am
perf/c/Makefile.am
+4
-4
Makefile.am
src/Makefile.am
+9
-3
ip.cpp
src/ip.cpp
+8
-0
No files found.
.gitignore
View file @
2ddce205
COPYING
INSTALL
Makefile
Makefile.in
...
...
@@ -17,7 +16,7 @@ autom4te.cache
*.pdf
*.ps
.*
src/platform.hpp
src/platform.hpp
*
src/stamp-h1
devices/zmq_forwarder/zmq_forwarder
devices/zmq_queue/zmq_queue
...
...
@@ -37,3 +36,7 @@ doc/*.3
doc/*.7
doc/*.html
doc/*.xml
bindings/python/setup.py
src/libzmq.pc
foreign/openpgm/*
!foreign/openpgm/*.tar.bz2
AUTHORS
View file @
2ddce205
...
...
@@ -33,6 +33,7 @@ Aamir Mohammad
Alexander Majorov
Bernd Schumacher
Brett Cameron
Brian Granger
Carsten Dinkelmann
David Bahi
Dirk Eddelbuettel
...
...
COPYING
0 → 100644
View file @
2ddce205
This diff is collapsed.
Click to expand it.
Makefile.am
View file @
2ddce205
...
...
@@ -8,9 +8,12 @@ SUBDIRS = src doc $(DIR_PERF) devices bindings examples
DIST_SUBDIRS
=
src doc perf devices bindings examples
EXTRA_DIST
=
\
$(top_srcdir)
/foreign/openpgm/@pgm
2
_basename@.tar.bz2
\
$(top_srcdir)
/foreign/openpgm/@pgm_basename@.tar.bz2
\
$(top_srcdir)
/foreign/xmlParser/xmlParser.cpp
\
$(top_srcdir)
/foreign/xmlParser/xmlParser.hpp
dist-hook
:
-
rm
-rf
$(distdir)
/foreign/openpgm/@pgm2_basename@
-
rm
-rf
$(distdir)
/foreign/openpgm/@pgm_basename@
clean-local
:
-
rm
-rf
$(top_srcdir)
/foreign/openpgm/@pgm_basename@
bindings/c/zmq.h
View file @
2ddce205
...
...
@@ -195,6 +195,7 @@ ZMQ_EXPORT int zmq_recv (void *s, zmq_msg_t *msg, int flags);
#define ZMQ_POLLIN 1
#define ZMQ_POLLOUT 2
#define ZMQ_POLLERR 4
typedef
struct
{
...
...
bindings/java/Makefile.am
View file @
2ddce205
...
...
@@ -17,8 +17,9 @@ dist_noinst_JAVA = \
lib_LTLIBRARIES
=
libjzmq.la
libjzmq_la_SOURCES
=
\
Context.cpp
\
Socket.cpp
nodist_libjzmq_la_SOURCES
=
\
org_zmq_Context.h
\
Socket.cpp
\
org_zmq_Socket.h
libjzmq_la_CXXFLAGS
=
@JAVA_INCLUDE@
-I
$(top_srcdir)
/bindings/c
-Wall
...
...
configure.in
View file @
2ddce205
This diff is collapsed.
Click to expand it.
doc/zmq_poll.txt
View file @
2ddce205
...
...
@@ -49,7 +49,8 @@ infinite timeout.
RETURN VALUE
------------
Function returns number of items signaled or -1 in the case of error.
Function returns number of items signaled, 0 in the case of timeout or -1
in the case of error.
ERRORS
...
...
perf/c/Makefile.am
View file @
2ddce205
INCLUDES
=
-I
$(top_builddir)
/bindings/c
if
BUILD_PGM
2
_EXAMPLES
if
BUILD_PGM_EXAMPLES
PGM_EXAMPLES_BINS
=
pgmsend pgmrecv
endif
...
...
@@ -22,7 +22,7 @@ remote_thr_LDADD = $(top_builddir)/src/libzmq.la
remote_thr_SOURCES
=
remote_thr.c
remote_thr_CXXFLAGS
=
-Wall
-pedantic
-Werror
if
BUILD_PGM
2
_EXAMPLES
if
BUILD_PGM_EXAMPLES
if
ON_MINGW
pgmexamples_diff_flags
=
\
...
...
@@ -64,7 +64,7 @@ pgmexamples_diff_flags = \
-DG_LOG_DOMAIN
=
'"Pgm"'
endif
pgmsend_SOURCES
=
../../foreign/openpgm/@pgm_basename@/openpgm/pgm/examples/pgmsend.c
nodist_
pgmsend_SOURCES
=
../../foreign/openpgm/@pgm_basename@/openpgm/pgm/examples/pgmsend.c
pgmsend_LDADD
=
$(top_builddir)
/src/libzmq.la
pgmsend_CFLAGS
=
-I
$(top_srcdir)
/foreign/openpgm/@pgm_basename@/openpgm/pgm/include/
-Wall
@LIBZMQ_EXTRA_CXXFLAGS@
\
-pipe
\
...
...
@@ -95,7 +95,7 @@ pgmsend_CFLAGS = -I$(top_srcdir)/foreign/openpgm/@pgm_basename@/openpgm/pgm/incl
-D_GNU_SOURCE
\
${
pgmexamples_diff_flags
}
pgmrecv_SOURCES
=
../../foreign/openpgm/@pgm_basename@/openpgm/pgm/examples/pgmrecv.c
nodist_
pgmrecv_SOURCES
=
../../foreign/openpgm/@pgm_basename@/openpgm/pgm/examples/pgmrecv.c
pgmrecv_LDADD
=
$(top_builddir)
/src/libzmq.la
pgmrecv_CFLAGS
=
-I
$(top_srcdir)
/foreign/openpgm/@pgm_basename@/openpgm/pgm/include/
-Wall
@LIBZMQ_EXTRA_CXXFLAGS@
\
-pipe
\
...
...
src/Makefile.am
View file @
2ddce205
...
...
@@ -15,7 +15,7 @@ include_HEADERS = ../bindings/c/zmq.h
endif
endif
if
BUILD_PGM
2
if
BUILD_PGM
pgm_sources
=
../foreign/openpgm/@pgm_basename@/openpgm/pgm/packet.c
\
../foreign/openpgm/@pgm_basename@/openpgm/pgm/time.c
\
../foreign/openpgm/@pgm_basename@/openpgm/pgm/if.c
\
...
...
@@ -49,6 +49,12 @@ pgm_sources = ../foreign/openpgm/@pgm_basename@/openpgm/pgm/packet.c \
../foreign/openpgm/@pgm_basename@/openpgm/pgm/log.c
\
../foreign/openpgm/@pgm_basename@/openpgm/pgm/sockaddr.c
\
../foreign/openpgm/@pgm_basename@/openpgm/pgm/version.c
../foreign/openpgm/@pgm_basename@/openpgm/pgm/version.c
:
../foreign/openpgm/@pgm_basename@/openpgm/pgm/version_generator.py
python ../foreign/openpgm/@pgm_basename@/openpgm/pgm/version_generator.py
>
$@
../foreign/openpgm/@pgm_basename@/openpgm/pgm/galois_tables.c
:
../foreign/openpgm/@pgm_basename@/openpgm/pgm/galois_generator.pl
perl ../foreign/openpgm/@pgm_basename@/openpgm/pgm/galois_generator.pl
>
$@
endif
nodist_libzmq_la_SOURCES
=
$(pgm_sources)
...
...
@@ -173,9 +179,9 @@ libzmq_la_SOURCES = app_thread.hpp \
zmq_init.cpp
\
zmq_listener.cpp
libzmq_la_LDFLAGS
=
-version-info
@LTVER@ @LIBZMQ_EXTRA_LDFLA
F
S@
libzmq_la_LDFLAGS
=
-version-info
@LTVER@ @LIBZMQ_EXTRA_LDFLA
G
S@
if
BUILD_PGM
2
if
BUILD_PGM
if
ON_MINGW
libpgm_diff_flags
=
\
...
...
src/ip.cpp
View file @
2ddce205
...
...
@@ -239,7 +239,11 @@ int zmq::resolve_ip_interface (sockaddr_storage* addr_, socklen_t *addr_len_,
// Restrict hostname/service to literals to avoid any DNS lookups or
// service-name irregularity due to indeterminate socktype.
#if defined ZMQ_HAVE_OSX
req
.
ai_flags
=
AI_PASSIVE
|
AI_NUMERICHOST
;
#else
req
.
ai_flags
=
AI_PASSIVE
|
AI_NUMERICHOST
|
AI_NUMERICSERV
;
#endif
// Resolve the literal address. Some of the error info is lost in case
// of error, however, there's no way to report EAI errors via errno.
...
...
@@ -288,7 +292,11 @@ int zmq::resolve_ip_hostname (sockaddr_storage *addr_, socklen_t *addr_len_,
// Avoid named services due to unclear socktype, and don't pick IPv6
// addresses if we don't have a local IPv6 address configured.
#if defined ZMQ_HAVE_OSX
req
.
ai_flags
=
AI_ADDRCONFIG
;
#else
req
.
ai_flags
=
AI_NUMERICSERV
|
AI_ADDRCONFIG
;
#endif
// Resolve host name. Some of the error info is lost in case of error,
// however, there's no way to report EAI errors via errno.
...
...
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