
Multiple Winsock-Connections to a server AND Winsock-Connection to a server minimized in systray
Hello!
I want to write a program which i can minimize to systray and in which i can
define
if the computer it is run on can be shutdown by a client or not. But the
first problem
I came about it that when i connect one time from the client to the server
and close the client,
start it again and try to connect, that it doesn't do so. The second time,
the client can't connect to the server,
until the server is restarted. Why is this so and how can i come along with
this problem?
The second problem is that i want to minimize the server in the systray and
when it is minimized, it shall
also accept winsock-connection-requests and then i also want to be able to
shut the server down...
thanks
thomas milcher
ps: i hope you understand my problem and my english, for german people, here
is the text i posted in a german NG
Hallo alle!
Ich will ein Programm schreiben(Server und Client) mit welches ich in die
Systray minimieren kann(klappt schon) und dort einstellen kann, dass man
meinen Rechner per zugeh?rigem Client runterfahren kann oder nicht. Doch das
erste Problem ist, das wenn das Programm in der Systray ist, dann kann ich
vom Client aus keinen "Shutdown"-Befehl mehr geben...
Mein zweites Problem ist, dass wenn der Server in der Systray l?uft und der
Client eine Verbindung aufbaut, der Client dann geschlossen wird und man
nachher wieder probiert eine Verbindung aufzubauen das nicht funktioniert,
sondern ich zuerst den Server neustarten muss....