Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fichiers
Recherche: 

Winsock server example
Stephane Hamel, Transfugesoft Inc..
Winsock server class: Demonstrate how to create a winsock server which can accept multiple client connections simultanously. This update will only work with VFP7 or higher because is now uses VFP 7 new EventHandler() intead of the VfpCom.BindEvents() -- UPDATE May 11 2004 -- Updated with a new link
Créé le
Il y a 23 années
Téléchargements
3175
Type de fichier
Résultat de votes
3.00/5.00
General information
Résultat de votes:
3.00/5.00 (1 rate) Évaluer cet item
Description
WINSOCK SERVER CLASS ____________________ *-- Written on December 19 2000, by Stephane Hamel (Stephane@Infosys-Software.com) *-- Updated Nov 2 2002 *-- - Uses EventHandler Instead of vfpCom.BindEvent *-- - This update will now only work with VFP 7 or higher *-- - Added: a bit more cleanup (Base class BaseContainer) *-- - Added: New Function "Web" To demonstrate how you can start task remotely. *-- - Removed reference to an unexisting Include file. *-- - New file Winsock.Reg: Run this file to create the much needed registry entry for Winsock This class is not Entirely done but it works ok, i am posting this because i had a hard time finding All the info i needed to build it. So maybe it will help you. To Use the class you must have the following: - Win2k SP2, While it may work on Win98 or 95, i did'nt test it - VFP7 - Open the Project Testws.Pjx - Build a an Exe (Not A dll) - Start the exe - Look at the Windows Event log if it doent work The server is listenning on port 2222 by default, you can change thin in main.prg by changing this line: This.nListennerPort = 2222 To Test the Class (i didn't post my client because it's to propritary) - Go to a Dos Prompt - Type Telnet 127.0.0.1 2222 && Ip addressof the server + the port - You will get this line : 200 Server Ready ++ - Now type SHOWLOG and press This show the log screen - Now Type BYE and press This will disconnect your session - Type Telnet 127.0.0.1 2222 To reconnect - Now Type Web and press This will start a web browser on the server - Now Type QUIT and press This will Close and quit the program Whith this server you can implement any function to take control of remote machine by executing Programs from a remote location.
Créé par
Stephane Hamel, Transfugesoft Inc..

Commentaires
I am getting compile error saying that "include\infosys.h" can not be found. Torgny Gerthsson, November 9, 2002

The include file error can safely be ignored, or remove the include file reference from the form class ServerInterface. This was corrected in the last update. The file WinsckSrv.zip should have 12,430 bytes, if it's not you have the old version of the file. Stephane Hamel, November 9, 2002

I think that the version for download on UT (as of Nov 9) is still the old one. Mark Frank, November 9, 2002

Download link not working. Where we can download this ? Warm regards, mk. Mk Sharma, November 1, 2012

More downloads created from this member
Stephane Hamel, Transfugesoft Inc..
Compare 2 version of a form or a class file on source safe. You will also need to download the file # 16434 (SourceCompare) and install it for this to work. All source sode included. Before running the VSSCompare form, make sure SourceCompare is installed and working. Contains all source code.
Créé le
Il y a 21 années
Téléchargements
585
Type de fichier
Stephane Hamel, Transfugesoft Inc..
This simple class will allow you to create simple SPT queries returning a fully updatable cursor. Look at Sqltest.prg for examples. This class is not intended to be used in production environment since it does not have much error handling and much fuctionnalities. I use it to quickly get an u...
Créé le
Il y a 21 années
Téléchargements
1083
Type de fichier