I cannot tell for IBrowse, but YAM will open bsdsocket.library only if a network connection is to be established and will close it again when the connection is terminated. It does not keep it opened all the time.evil wrote:But IBrowse and YAM do not quit, when using netshutdown. And shutdown seems to work successful, even if yam or/and IBrowse are running.
InternetShutdown sends Ctrl-C to other Applications.
Re: InternetShutdown sends Ctrl-C to other Applications.
- thomasrapp
- Posts: 318
- Joined: Sun Jun 19, 2011 12:22 am
Re: InternetShutdown sends Ctrl-C to other Applications.
I am quite sure that IBrowse closes the library after a connection, because it creates new processes for each connection and bsdsocket.library has to be opened by each process seperately.
Re: InternetShutdown sends Ctrl-C to other Applications.
So if hollywood programs should not quit after netshutdown, they have to close the bsd-socket.library each time after using it, right??
- thomasrapp
- Posts: 318
- Joined: Sun Jun 19, 2011 12:22 am
Re: InternetShutdown sends Ctrl-C to other Applications.
Why do you want to netshutdown?
Re: InternetShutdown sends Ctrl-C to other Applications.
I do not need it really, I am just coding a tool with hollywood, which displays some system-informations.
Also the online-state can be shown. And when I tested that, I found out, that the program quits, when I go offline...
Normally these days, most people have dsl and are 24/7 online. So it doesn`t really matter. But some are not...
Mostly im interested in it because of information-reasons...
So many thanks for the explanations!!
Best regards
Jörg
Also the online-state can be shown. And when I tested that, I found out, that the program quits, when I go offline...
Normally these days, most people have dsl and are 24/7 online. So it doesn`t really matter. But some are not...
Mostly im interested in it because of information-reasons...
So many thanks for the explanations!!
Best regards
Jörg
- thomasrapp
- Posts: 318
- Joined: Sun Jun 19, 2011 12:22 am
Re: InternetShutdown sends Ctrl-C to other Applications.
Netshutdown does not only go offline. As I said before it completely removes the TCP/IP stack from the system.
I don't know if there is a command to go offline in Roadshow. In Miami you can go offline without shutting down TCP/IP.
I don't know if there is a command to go offline in Roadshow. In Miami you can go offline without shutting down TCP/IP.
- nbache
- Beta Tester
- Posts: 1744
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: InternetShutdown sends Ctrl-C to other Applications.
I guess C:RemoveNetInterface is the equivalent for RoadShow.thomasrapp wrote:Netshutdown does not only go offline. As I said before it completely removes the TCP/IP stack from the system.
I don't know if there is a command to go offline in Roadshow. In Miami you can go offline without shutting down TCP/IP.
Best regards,
Niels
Re: InternetShutdown sends Ctrl-C to other Applications.
Any network interface can be taken offline using ConfigureNetInterface.thomasrapp wrote:Netshutdown does not only go offline. As I said before it completely removes the TCP/IP stack from the system.
I don't know if there is a command to go offline in Roadshow. In Miami you can go offline without shutting down TCP/IP.
The underlying network driver must also support S2_OFFLINE (see http://wiki.amigaos.net/index.php/Revis ... S2_OFFLINE) of course.
ExecSG Team Lead
Re: InternetShutdown sends Ctrl-C to other Applications.
@evil
Just add CtrlC(False) into your Hollywood application, any Break signals then received will be ignored.
Defaults to (True)
Just add CtrlC(False) into your Hollywood application, any Break signals then received will be ignored.
Defaults to (True)
Re: InternetShutdown sends Ctrl-C to other Applications.
Then Netshutdown won't be able to shut down the network and you won't be able to restart your network without rebooting. Programs that are using TCP/IP and don't respond to Ctrl C from RoadShow are misbehaving.djrikki wrote:@evil
Just add CtrlC(False) into your Hollywood application, any Break signals then received will be ignored.
Defaults to (True)
AmigaOne X1000 with 2GB memory - OS4.1 FE