From: Tim Greer Date: 2009-03-01T04:34:02+09:00 Subject: Re: Get key pressed Alejandro Michelin salomon wrote: > Hi > i need to now how to get a key pressed. > > I have a tcpserver, and i want to get if the user press control + x. > If the users press control + x i make the shutdown. > > Can you give my some ligth? To be clear, is this a tcpserver running on the local system where you want to catch the signal (CTRL-X) or do you mean the tcpserver is running on a remote system and you want to capture the local singal and send that to the remote service? -- Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc. Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers and Custom Hosting. 24/7 support, 30 day guarantee, secure servers. Industry's most experienced staff! -- Web Hosting With Muscle!