[Gambas-user] ServerSocket application without Forms

Benoit Minisini gambas at ...1...
Wed Jan 28 18:13:30 CET 2009


On mardi 27 janvier 2009, Jose J. Rodriguez wrote:
> Is it possible to use ServerSocket in an applciation without Forms? I
> have been placed all the code in the Main Module and though I get a
> connection, the _Connection event does not seem to fire.
>
> Regards,
> Joe1962
>

Of course. You just must not forget to specify the event name when 
instanciating the object:

MyServerSocket = NEW ServerSocket AS "ServerSocketEventName"

Regards,

-- 
Benoit Minisini




More information about the User mailing list