Samuel Tardieu
ef1f093517
Update headers
2023-06-18 13:57:26 +02:00
Samuel Tardieu
0efdf44fc9
GNAT now recognizes Ada.Exceptions.Raise_Exception properly
2023-06-15 10:41:10 +02:00
Samuel Tardieu
6dd94b326f
No need to use the parent commit, even when calling a pragma on it
2023-06-15 10:41:10 +02:00
Samuel Tardieu
99532ea228
Update copyright notice
2020-06-18 15:31:47 +02:00
Nicolas Boulenguez
3b784f7f4c
Make install paths more configurable and add GNAT project file
...
This will ease Debian packaging.
2020-06-18 15:07:01 +02:00
Samuel Tardieu
86c2091068
Update copyright notice
2018-04-09 17:31:34 +02:00
Samuel Tardieu
6b4e76f45c
Move field with unknown size last for efficiency reason
...
Reported by Oliver Kellog. `-gnatg` would turn this compiler warning
into an error.
Fix #7
2018-04-09 17:20:48 +02:00
Guillaume Foliard
9e0da0443c
Modify multicast socket initialization to allow datagram reception:
...
* perform the bind operation using 0.0.0.0
* modify add_membership option to refers to the IP address of the
actual interface used to transport the multicast traffic.
2018-03-11 16:39:34 +01:00
Samuel Tardieu
1d4d6d8940
Update copyright year
2017-10-07 15:01:23 +02:00
Nicolas Boulenguez
38e6801c1b
Use ADAFLAGS CFLAGS CPPFLAGS LDFLAGS for all compilations
...
libadasockets_la_LINK is normally intended to be generated,
has been rewritten previously without the usual flags,
forgetting LDFLAGS directly and LIBVERSIONINFO indirectly.
The motivation was that the default value relies on the
unset variable CCLD. Fix this instead.
Tell ./configure that ADAFLAGS may be set by the user.
Put user's values after default ones so they take precedence.
Author: Neil Williams
Author: Phil Brooke <pjb@debian.org>
Author: Nicolas Boulenguez <nicolas@debian.org>
2016-09-21 10:33:07 +02:00
Samuel Tardieu
52c464894c
Allow multicast sockets to be local-only
2015-12-02 15:38:59 +01:00
Samuel Tardieu
6bc6198119
Update copyright date
2015-12-02 14:44:03 +01:00
Samuel Tardieu
82879e2104
Ignore SIGPIPE on socket disconnections
2015-12-02 14:39:40 +01:00
Andrew Ayer
b617659ada
Remove uname and date from generated sockets-constants.ads file
...
The uname and date capture non-deterministic information about the build
environment, rendering the build unreproducible.
2015-08-21 05:48:58 -07:00
Andrew Ayer
3c96bf8a30
Preserve timestamps when copying files during build
...
If the timestamp is not preserved, the current time gets
captured by the build, rendering it unreproducible.
2015-08-21 05:30:22 -07:00
Samuel Tardieu
cf3469668f
Older versions of the compiler did not support the Reason parameter
2015-02-16 19:01:56 +01:00
Samuel Tardieu
1d16bcd6cb
Add functions to retrieve incoming and outgoing queue sizes on Linux
2014-08-02 19:45:36 +02:00
Frank B. Mueller
3d177c47aa
Mark uninitialized sockets as being shut down
...
This will allow procedures such as Send or Receive to raise a
Connection_Closed exception when trying to use an uninitialized
socket.
2014-08-02 19:42:57 +02:00
Karlheinz Kessler
db8431b0be
Add TCP_NODELAY flag
...
src/sockets.ads
- At type Socket_Option add value TCP_NODELAY
src/sockets.adb
- Add element for new Socket_Option value TCP_NODELAY
in constant arrays Socket_Option_Match and Socket_Option_Size
2014-08-02 18:59:51 +02:00
Karlheinz Kessler
b532e946e9
Support joining multicast group on specific interface
...
Change required in function Create_Multicast_Socket to support
joining multicast group on specific interface (relevant in
hosts that have multiple interfaces):
- Call procedure Bind with Host => Local_If
- Set Mreq.Imr_Interface to 0.0.0.0 before call to
Setsockopt_Add_Membership
2014-08-02 18:59:51 +02:00
Samuel Tardieu
f60f2e3f5f
Fix style issues
2014-08-02 18:29:49 +02:00
Samuel Tardieu
e7834a66a2
Use the right compiler to compile C constants files
...
gcc had been kept hardcoded in constants.sh, while it should have
been replaced by the right compiler.
2012-12-08 17:44:03 +01:00
Oliver Kellogg
a7a0627412
Make adasockets-config work with dash
2012-04-26 16:51:56 +02:00
Samuel Tardieu
986f8e6b81
Update copyright and contact information
2011-11-22 19:40:49 +01:00
Oliver Kellogg
18caee5610
Add more options such as SO_KEEPALIVE
2011-01-12 16:00:58 +01:00
Oliver Kellogg
01b141ceba
Use proper casing for SOL_SOCKET
2011-01-12 16:00:27 +01:00
Samuel Tardieu
0b3b98d858
Use pkg-config for post-installation configuration
2010-03-18 20:03:32 +01:00
Samuel Tardieu
1f912f1428
Update copyright notices
2010-03-18 19:40:15 +01:00
Samuel Tardieu
fcff5842e1
Use automake for distribution
2010-03-18 19:38:18 +01:00
Oliver Kellogg
2c1df7efdb
Define Null_Socket_FD and friends
2010-03-18 14:21:45 +01:00
Oliver Kellogg
46b65ca531
Clean binder files as well
2010-03-18 14:20:51 +01:00
Samuel Tardieu
dfdf62b106
Adapt to new GNAT style checks
2010-03-07 18:17:31 +01:00
Samuel Tardieu
730d3f1af0
Enforce behaviour of --enable-debug
2007-11-06 15:17:16 +01:00
Samuel Tardieu
d829eefb36
Move Is_IP_Address into Sockets.Utils as it may be useful in other places
2007-11-06 14:56:02 +01:00
Samuel Tardieu
9267a6a507
Update dependencies
2007-11-05 16:28:03 +01:00
Samuel Tardieu
980fe9d225
Make Get_FD inline for efficiency reasons
2007-11-05 16:27:54 +01:00
Samuel Tardieu
759a8a252b
Move "*" into Sockets.Utils
2007-11-05 15:27:48 +01:00
Samuel Tardieu
86693f9b44
Add missing file src/config.h.in
2007-11-05 15:24:34 +01:00
Samuel Tardieu
9db66e5144
Remove traces of older VCS
2007-11-05 10:41:55 +01:00
Samuel Tardieu
7acf9b7e83
Update headers in Ada files
2007-11-05 10:39:38 +01:00
Samuel Tardieu
3bedab44e2
Use a static adacompiler with a parametrable GNATMAKE argument
2007-11-05 10:29:25 +01:00
Samuel Tardieu
9b26116d5c
Update dependencies
2007-11-05 00:32:55 +01:00
Samuel Tardieu
a357f6dea9
Update update-headers.el and definition files
2007-11-05 00:02:25 +01:00
Samuel Tardieu
9c698f3643
Do not use multiple targets left to the column in Makefile
2007-11-04 21:03:01 +01:00
Joel Sherrill
c902363cf7
Add RTEMS support
2007-11-03 15:18:23 +01:00
Samuel Tardieu
dd4c8acccb
Import from Mercurial
2007-11-03 15:13:17 +01:00