<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/erts/preloaded/src, branch maint</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'bmk/erts/esock/20190730/select_info/OTP-15958' into maint</title>
<updated>2019-08-01T16:36:16+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-08-01T16:36:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=412b9aee0f4529f6708040f060f77221022f4c20'/>
<id>412b9aee0f4529f6708040f060f77221022f4c20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'raimo/inherit-listen-options/OTP-15824' into maint</title>
<updated>2019-07-31T14:39:28+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2019-07-31T14:19:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1a8f8b199589b5a16b22489e6501f13fbc2e1b54'/>
<id>1a8f8b199589b5a16b22489e6501f13fbc2e1b54</id>
<content type='text'>
* raimo/inherit-listen-options/OTP-15824:
  The linger option is not transferred on *BSD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* raimo/inherit-listen-options/OTP-15824:
  The linger option is not transferred on *BSD
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Updated select-info</title>
<updated>2019-07-30T15:29:01+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-30T14:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4a69f68e9f0ffd76f1338851f8c19614b5d7fc14'/>
<id>4a69f68e9f0ffd76f1338851f8c19614b5d7fc14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Dialyzer related cleanup</title>
<updated>2019-07-24T16:03:19+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-24T16:03:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ae6eb243f95d4fb1bdc83d31613a36c53323b9ee'/>
<id>ae6eb243f95d4fb1bdc83d31613a36c53323b9ee</id>
<content type='text'>
Removed unnecessary spec's causing dialyzer warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed unnecessary spec's causing dialyzer warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Incorrect socket address guard in sendto</title>
<updated>2019-07-24T15:04:00+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-24T14:36:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8758de0e10f764e8eb43ee22ddaaabe46fa963de'/>
<id>8758de0e10f764e8eb43ee22ddaaabe46fa963de</id>
<content type='text'>
Invalid guard tests for function sendto. It handled the,
invalid, socket address 'null'. Presumably, this was
intended for connected UDP sockets. Though, for a
connected (UDP) socket, the send function shall be used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Invalid guard tests for function sendto. It handled the,
invalid, socket address 'null'. Presumably, this was
intended for connected UDP sockets. Though, for a
connected (UDP) socket, the send function shall be used.
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Handle wildcard address 'broadcast' when binding</title>
<updated>2019-07-17T10:12:38+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-11T16:23:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=596d0fd5863ffffb4246814c6f74d75ce68b7791'/>
<id>596d0fd5863ffffb4246814c6f74d75ce68b7791</id>
<content type='text'>
Its now possible to bind a socket to the (limited) broadcast
address by specifying 'broadcast' as address:

   socket:bind(Socket, broadcast)

This is *only* valid for family 'inet'.

Add testing of sending (broadcasting) to both "limited" broadcast address
and "subnet-directed" broadcast address.

OTP-15904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Its now possible to bind a socket to the (limited) broadcast
address by specifying 'broadcast' as address:

   socket:bind(Socket, broadcast)

This is *only* valid for family 'inet'.

Add testing of sending (broadcasting) to both "limited" broadcast address
and "subnet-directed" broadcast address.

OTP-15904
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Add test case for socket option bindtodevice</title>
<updated>2019-07-17T10:12:38+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-10T14:17:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ab78a0e3c0655efe5a8aab3569aca0859811dd4a'/>
<id>ab78a0e3c0655efe5a8aab3569aca0859811dd4a</id>
<content type='text'>
Add test case for the socket option bindtodevice. Also make
correction in the nif code. Used the wrong option (broadcast).
Also added more info to doc.

Note sure if this test case actually works. Set and get "works",
but the value returned by get is always "". So either we should
extend the test to made sure the bind actually has the expected
effect or... Something for a rainy day maybe...

OTP-15904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test case for the socket option bindtodevice. Also make
correction in the nif code. Used the wrong option (broadcast).
Also added more info to doc.

Note sure if this test case actually works. Set and get "works",
but the value returned by get is always "". So either we should
extend the test to made sure the bind actually has the expected
effect or... Something for a rainy day maybe...

OTP-15904
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Add test case for socket option acceptconn</title>
<updated>2019-07-17T10:12:38+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-07-10T10:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b76907abc160fdbb192e81f0a8dadde9455db9ea'/>
<id>b76907abc160fdbb192e81f0a8dadde9455db9ea</id>
<content type='text'>
Add test case for the socket option acceptconn. Also make
minor correction (error when trying to set this option
was incorrect). Doc was also incorrect (spelled wrong).

OTP-15904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test case for the socket option acceptconn. Also make
minor correction (error when trying to set this option
was incorrect). Doc was also incorrect (spelled wrong).

OTP-15904
</pre>
</div>
</content>
</entry>
<entry>
<title>The linger option is not transferred on *BSD</title>
<updated>2019-07-16T13:31:23+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2019-07-16T11:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=387974e678423b403439c90a0a4026f258be891f'/>
<id>387974e678423b403439c90a0a4026f258be891f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[esock] Make it it work for IPv6</title>
<updated>2019-07-08T14:53:40+00:00</updated>
<author>
<name>Micael Karlberg</name>
<email>bmk@erlang.org</email>
</author>
<published>2019-05-29T10:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=86751fcc8665748a6bc8eeb5ab078f403d14107e'/>
<id>86751fcc8665748a6bc8eeb5ab078f403d14107e</id>
<content type='text'>
The nif code expects the socket address to be "complete",
that is all fields must exist. This was not the case for
a couple of functions, sendto, sendmsg and connect.
What was mssing was a call to 'ensure_sockaddr'.

Test: 1) Add a condition function to test if IPv6 is available
         and works.
      2) Needed to adjust a test case (actually a common function
         used in several test cases) since the socket address
	 data type has two optional fields, which we do not
	 initiate (when sending), but the nif-code does fill in.

OTP-15897
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The nif code expects the socket address to be "complete",
that is all fields must exist. This was not the case for
a couple of functions, sendto, sendmsg and connect.
What was mssing was a call to 'ensure_sockaddr'.

Test: 1) Add a condition function to test if IPv6 is available
         and works.
      2) Needed to adjust a test case (actually a common function
         used in several test cases) since the socket address
	 data type has two optional fields, which we do not
	 initiate (when sending), but the nif-code does fill in.

OTP-15897
</pre>
</div>
</content>
</entry>
</feed>
