History log of /haiku/headers/os/net/NetAddress.h
Revision Date Author Comments
# 49a22456 13-Jul-2008 Oliver Tappe <zooey@hirschkaefer.de>

Overhauled BNetEndpoint implementation (and BNetAddress, too):
* added NetEndpointTest that exposed a couple of bugs
* fixed several bugs in the implementation of BNetEndpoint, some of which kept
NetPenguin from working
* fixed a couple of constness issues in BNetEndpoint and BNetAddress


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26405 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1aa3d2e3 05-Jul-2008 Oliver Tappe <zooey@hirschkaefer.de>

Resolved a couple of problems in BNetAddress implementation:
* fixed several byte order inconsistencies, it does not make sense to always
convert the byte order input/output values - no we convert where it can
be expected and leave it where it is confusing
* fixed size inconsistencies with respect to family and port, both of which
were sometimes handled as int8, as int16 and as int32 in different places
(now they are always int16)
These fixes make Beam connect to the correct address and port, but it still doesn't work, as it seems to be using UDP instead of TCP (doh!). Will look into that tomorrow.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26269 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 241b0480 28-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed build of libnetapi.so - it probably won't work for now, though, have a look
at the comment in r5_compatibility.h.
* Intentionally broke source compatibility and removed all that outdated Nettle stuff.
* Also, I took the liberty of making m_init private and rename it to fInit - again, this
will only affect source compatibility.
* Rewrote NetEndpoint.h
* Fixed quite a few small bugs around the code that I touched, for example in NetAddress,
SetTo() never set fInit, and therefore could be wrong.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18680 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ad31a3c1 13-Aug-2004 Philippe Houdoin <philippe.houdoin@gmail.com>

Comment about unsupported Nettle backward compatibility added.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8566 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 082059d4 16-Dec-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Checked-in the update Scott Mansfield made to these BNet* classes declarations to male
them binary compatible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2264 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2ae4404a 31-Oct-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

On behalf of Scott Mansfield, the 3/4 Net* classes headers are there.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1806 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b8377d8c 25-Oct-2002 beveloper <beveloper@nowhere.fake>

changes header guards


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1652 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ae68bb32 16-Oct-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Re-written by Scott Mansfield <thephantom@mac.com>


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c44e39a 28-Aug-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Initial checkin of C++ BeOS Net API include files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@918 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49a22456ddda2a7cfc5c19d9ccc131125b8b690c 13-Jul-2008 Oliver Tappe <zooey@hirschkaefer.de>

Overhauled BNetEndpoint implementation (and BNetAddress, too):
* added NetEndpointTest that exposed a couple of bugs
* fixed several bugs in the implementation of BNetEndpoint, some of which kept
NetPenguin from working
* fixed a couple of constness issues in BNetEndpoint and BNetAddress


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26405 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1aa3d2e3f31ffbb5014679275778a7682222eda7 05-Jul-2008 Oliver Tappe <zooey@hirschkaefer.de>

Resolved a couple of problems in BNetAddress implementation:
* fixed several byte order inconsistencies, it does not make sense to always
convert the byte order input/output values - no we convert where it can
be expected and leave it where it is confusing
* fixed size inconsistencies with respect to family and port, both of which
were sometimes handled as int8, as int16 and as int32 in different places
(now they are always int16)
These fixes make Beam connect to the correct address and port, but it still doesn't work, as it seems to be using UDP instead of TCP (doh!). Will look into that tomorrow.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26269 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 241b048033e34efa942d1f43f8d199d086b07743 28-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

* Fixed build of libnetapi.so - it probably won't work for now, though, have a look
at the comment in r5_compatibility.h.
* Intentionally broke source compatibility and removed all that outdated Nettle stuff.
* Also, I took the liberty of making m_init private and rename it to fInit - again, this
will only affect source compatibility.
* Rewrote NetEndpoint.h
* Fixed quite a few small bugs around the code that I touched, for example in NetAddress,
SetTo() never set fInit, and therefore could be wrong.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18680 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ad31a3c1c873f900af523aca99b4aa0019884522 13-Aug-2004 Philippe Houdoin <philippe.houdoin@gmail.com>

Comment about unsupported Nettle backward compatibility added.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8566 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 082059d40330fb02e36fe22437502f181535f783 16-Dec-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Checked-in the update Scott Mansfield made to these BNet* classes declarations to male
them binary compatible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2264 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2ae4404ac169360ad96e67667b6ce983ad86a492 31-Oct-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

On behalf of Scott Mansfield, the 3/4 Net* classes headers are there.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1806 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b8377d8cb45ce96d690a05b62f30b58a9d02225d 25-Oct-2002 beveloper <beveloper@nowhere.fake>

changes header guards


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1652 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ae68bb327396c10d4ddb28f968a8ef963cf60a67 16-Oct-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Re-written by Scott Mansfield <thephantom@mac.com>


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c44e39a3a0c536defeb878c915e81d433b79170 28-Aug-2002 Philippe Houdoin <philippe.houdoin@gmail.com>

Initial checkin of C++ BeOS Net API include files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@918 a95241bf-73f2-0310-859d-f6bbb57e9c96