History log of /haiku/src/servers/net/Services.h
Revision Date Author Comments
# d8e8078b 22-Nov-2015 Jérôme Duval <jerome.duval@gmail.com>

net_server: warning on delete of address of a reference.

* fixes #12244.


# 83941255 11-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

net_server: cleaned up Services.h, no functional change.


# f16f9ee4 25-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Moved more functionality from net_server to NetworkSettings.

* Added (still incomplete) helper classes for the settings messages.
* The net_server now uses these classes for its interfaces, and services.
* Renamed service_address to service_connection, as that better matches
what it is used for.


# f6ad6dd6 04-Jul-2007 Axel Dörfler <axeld@pinc-software.de>

* Now a service is quit when it is removed from the settings file.
* When deleting the Services handler, it will now also stop all running services,
and close the command pipe (since it's only quit when the net_server quits, that
wasn't much of a problem, though).


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


# c30e35eb 31-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Actually launching services should work now:
* ServiceSocketMap now maps directly to service_address objects which now have
gotten a pointer to their owner.
* now uses listen(), and accept() for SOCK_STREAM sockets
* fMinSocket could be wrong.
* use FD_CLOEXEC on all sockets, and the communication pipe.
* removed unused service::type and service::protocol.
* if no family is specified, we now default to AF_INET.
* uses fork()/exec() to actually spawn the servers to not clobber the net_server's
input/output streams.


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


# c42ca726 28-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Work-in-progress on the "services" implementation: it now reads the configuration
message, parses it, and stops/starts the services as needed - it doesn't launch
any actual servers yet, though.


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


# fc398fa2 22-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Added "services" to the network settings, and refactored the settings class a bit
to be easier extendable with more classes.
* Fixed a bug in the settings that caused updated settings to be appended to the
existing ones (missing BMessage::MakeEmpty()).
* Started services system, doesn't do anything useful yet (inetd replacement).
* Fixed the bug that caused the loopback default netmask to be incorrectly chosen;
removed the temporary fix Bruno introduced before. The same bug has been in
ifconfig where I copied the code from (but wrote it there, too) :-).


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


# 83941255ad61d9820334e8717c05fb7417b8994e 11-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

net_server: cleaned up Services.h, no functional change.


# f16f9ee4ee34b2378804c7272897182226976fca 25-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Moved more functionality from net_server to NetworkSettings.

* Added (still incomplete) helper classes for the settings messages.
* The net_server now uses these classes for its interfaces, and services.
* Renamed service_address to service_connection, as that better matches
what it is used for.


# f6ad6dd6a6a8a6cc6a2ef24f46dbf1fb4a84000c 04-Jul-2007 Axel Dörfler <axeld@pinc-software.de>

* Now a service is quit when it is removed from the settings file.
* When deleting the Services handler, it will now also stop all running services,
and close the command pipe (since it's only quit when the net_server quits, that
wasn't much of a problem, though).


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


# c30e35eb9bfa78292163de0a766a3b028cfd9cf2 31-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Actually launching services should work now:
* ServiceSocketMap now maps directly to service_address objects which now have
gotten a pointer to their owner.
* now uses listen(), and accept() for SOCK_STREAM sockets
* fMinSocket could be wrong.
* use FD_CLOEXEC on all sockets, and the communication pipe.
* removed unused service::type and service::protocol.
* if no family is specified, we now default to AF_INET.
* uses fork()/exec() to actually spawn the servers to not clobber the net_server's
input/output streams.


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


# c42ca72638425e7b8745426654a7f6d0de054464 28-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

Work-in-progress on the "services" implementation: it now reads the configuration
message, parses it, and stops/starts the services as needed - it doesn't launch
any actual servers yet, though.


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


# fc398fa2ab1532b0fdc002f8ef8d99a9b723da69 22-Dec-2006 Axel Dörfler <axeld@pinc-software.de>

* Added "services" to the network settings, and refactored the settings class a bit
to be easier extendable with more classes.
* Fixed a bug in the settings that caused updated settings to be appended to the
existing ones (missing BMessage::MakeEmpty()).
* Started services system, doesn't do anything useful yet (inetd replacement).
* Fixed the bug that caused the loopback default netmask to be incorrectly chosen;
removed the temporary fix Bruno introduced before. The same bug has been in
ifconfig where I copied the code from (but wrote it there, too) :-).


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