[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] ServerSocket application without Forms
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2009-01-28 17:13:30
Message-ID: 200901281813.30112.gambas () users ! sourceforge ! net
[Download RAW message or body]

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic