<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/lib9/dial.c, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>lib9: fix memory leak in dial of regular file (#284)</title>
<updated>2020-01-13T16:38:17+00:00</updated>
<author>
<name>jvd23</name>
<email>46013531+jvd23@users.noreply.github.com</email>
</author>
<published>2020-01-13T16:37:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=d96e9e5dc39a356febed132703e46bf73bac6850'/>
<id>d96e9e5dc39a356febed132703e46bf73bac6850</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial changes: whitespace and modes.</title>
<updated>2020-01-10T14:54:30+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-10T14:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fa325e9b42b0bdfb48857d1958d9fb7ceac55151'/>
<id>fa325e9b42b0bdfb48857d1958d9fb7ceac55151</id>
<content type='text'>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib9/dial: fix addrlen in connect() and bind()</title>
<updated>2012-09-04T22:45:19+00:00</updated>
<author>
<name>David du Colombier</name>
<email>0intro@gmail.com</email>
</author>
<published>2012-09-04T22:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=3dade5fe59d80e9d23916d15db93ea39407f694e'/>
<id>3dade5fe59d80e9d23916d15db93ea39407f694e</id>
<content type='text'>
On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.

R=rsc
http://codereview.appspot.com/6489072
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.

R=rsc
http://codereview.appspot.com/6489072
</pre>
</div>
</content>
</entry>
<entry>
<title>lib9/dial: add support for IPv6</title>
<updated>2012-06-02T19:50:59+00:00</updated>
<author>
<name>David du Colombier</name>
<email>0intro@gmail.com</email>
</author>
<published>2012-06-02T19:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=3409bc9ae1614ba47430a3f593fdbe5fc177c878'/>
<id>3409bc9ae1614ba47430a3f593fdbe5fc177c878</id>
<content type='text'>
The function p9dialparse() returns the host as a sockaddr_storage
structure instead of a u32int, to be able to handle both IPv4
and IPv6 addresses. Because the sockaddr_storage structure also
handle port numbers and Unix path names, there is no longer
need to set them in the calling functions. However, these values
are still returned for convenience.

The sockaddr_in and sockaddr_un structures have been replaced
by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets.

Names and addresses are resolved using either gethostbyname()
or getaddrinfo() functions.

The getaddrinfo() function is documented in RFC2553 and standardized
since POSIX.1-2001. It supports both IPv4 and IPv6 addresses.
The gethostbyname() function is deprecated since POSIX.1-2008.
However, some libc implementations don't handle getaddrinfo()
properly, thus we preferred to try gethostbyname() first.

I've tried to preserve most of the old code logic to prevent
from surprising or unwanted behavior.

R=rsc
http://codereview.appspot.com/6255068
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function p9dialparse() returns the host as a sockaddr_storage
structure instead of a u32int, to be able to handle both IPv4
and IPv6 addresses. Because the sockaddr_storage structure also
handle port numbers and Unix path names, there is no longer
need to set them in the calling functions. However, these values
are still returned for convenience.

The sockaddr_in and sockaddr_un structures have been replaced
by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets.

Names and addresses are resolved using either gethostbyname()
or getaddrinfo() functions.

The getaddrinfo() function is documented in RFC2553 and standardized
since POSIX.1-2001. It supports both IPv4 and IPv6 addresses.
The gethostbyname() function is deprecated since POSIX.1-2008.
However, some libc implementations don't handle getaddrinfo()
properly, thus we preferred to try gethostbyname() first.

I've tried to preserve most of the old code logic to prevent
from surprising or unwanted behavior.

R=rsc
http://codereview.appspot.com/6255068
</pre>
</div>
</content>
</entry>
<entry>
<title>lib9: fix local addr in dial</title>
<updated>2011-08-16T18:02:11+00:00</updated>
<author>
<name>Jani Lahtinen</name>
<email>jani.lahtinen8@gmail.com</email>
</author>
<published>2011-08-16T18:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=0c2ef23ff3d400d5e18eebeec2113cf81c5fb269'/>
<id>0c2ef23ff3d400d5e18eebeec2113cf81c5fb269</id>
<content type='text'>
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4826049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4826049
</pre>
</div>
</content>
</entry>
<entry>
<title>dial: allow host==0 when net=="unix"</title>
<updated>2009-08-17T15:34:33+00:00</updated>
<author>
<name>Fazlul Shahriar</name>
<email>fshahriar@gmail.com</email>
</author>
<published>2009-08-17T15:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=5186b55afc97730b733a85cdcb38d6ee7fdd32c7'/>
<id>5186b55afc97730b733a85cdcb38d6ee7fdd32c7</id>
<content type='text'>
http://codereview.appspot.com/108042
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://codereview.appspot.com/108042
</pre>
</div>
</content>
</entry>
<entry>
<title>dial: reject dial to * (aka 0.0.0.0)</title>
<updated>2009-08-15T06:48:08+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2009-08-15T06:48:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=6d558e12b04a468ec630d282265f033f54f6fa41'/>
<id>6d558e12b04a468ec630d282265f033f54f6fa41</id>
<content type='text'>
fixes #15 http://code.swtch.com/plan9port/issues/15

http://codereview.appspot.com/107043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #15 http://code.swtch.com/plan9port/issues/15

http://codereview.appspot.com/107043
</pre>
</div>
</content>
</entry>
<entry>
<title>experiment: translation from standard notations to plan 9 in netmkaddr</title>
<updated>2006-07-23T02:56:37+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2006-07-23T02:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=6215fd56f1c9d9392806efd1ac499f91c8ae83fb'/>
<id>6215fd56f1c9d9392806efd1ac499f91c8ae83fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>set qid.vers (Erik Quanstrom)</title>
<updated>2005-12-29T21:41:54+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2005-12-29T21:41:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=3d484b0d1a2a49113683f40a66a7fc4c1bebcda1'/>
<id>3d484b0d1a2a49113683f40a66a7fc4c1bebcda1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow broadcast</title>
<updated>2005-12-26T03:58:43+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2005-12-26T03:58:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=74f9b0c62cfe49a5e49380a2cf6eb99f762a8d76'/>
<id>74f9b0c62cfe49a5e49380a2cf6eb99f762a8d76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
