Article View: borland.public.jbuilder.java.language
Article #14531Re: How to get an event from a socket
From: jeremy LE DEAN
Date: Mon, 30 Aug 1999 00:00
Date: Mon, 30 Aug 1999 00:00
76 lines
2496 bytes
2496 bytes
Il s'agit d'un message multivolet au format MIME. --------------2D56D9A5E082263BB3D0854D Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thank you very much for answering; I choose the second solution: implement my own Event manager. Thank you. Dillan Fernando a �crit : > Hi, > > I assume you mean a ServerSocket. > > well.. the serversocket waits until a connection is made. That means once > you execute the serversocket, you will not get the control until a > connection is made to that port. > > So you can call whtever the method you want right after that. > > eg. > > Socket soc = serverSocket.accept(); > myClass.myFunction(soc); > > or you can implement you own event. > > jBuilder2 help has a real good doc. on how to implement your own event. > > Hope this helps. > > Regards > > Dillan > jeremy LE DEAN wrote in message <37C6973B.97FC1A48@sinfor.fr>... > >Hi everybody, > > > >I'd like to know how to get a socket event: > > > >when a client is connected on my socket, I would like to generate an > >event . > >This event sould be detected by an other application. > > > >Do you have an idea? > > > >Thank you for your help. > > > > > >A poor frenchi ' qui a du mal � parler anglais !' > > > > --------------2D56D9A5E082263BB3D0854D Content-Type: text/x-vcard; charset=us-ascii; name="jledean.vcf" Content-Transfer-Encoding: 7bit Content-Description: Carte pour jeremy LE DEAN Content-Disposition: attachment; filename="jledean.vcf" begin:vcard n:LE DEAN;J�r�my tel;fax:04.72.13.56.01 tel;work:04.72.13.56.00 x-mozilla-html:FALSE url:www.sinfor.fr org:SINFOR Rh�ne-Alpes;P�le applicatif adr:;;10 Pl. Charles B�raudier;LYON cedex 03;;69428;France version:2.1 email;internet:jledean@sinfor.fr fn:LE DEAN J�r�my end:vcard --------------2D56D9A5E082263BB3D0854D--
Technical Details
Message-ID:
<37CA57AC.3467CA68@sinfor.fr>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37C6973B.97FC1A48@sinfor.fr> <7q6msk$rlh21@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,9fab977f29aeabf5 X-Google-Attributes: gidf74b3,public From: jeremy LE DEAN <jledean@sinfor.fr> Subject: Re: How to get an event from a socket Date: 1999/08/30 Message-ID: <37CA57AC.3467CA68@sinfor.fr> X-Deja-AN: 518811128 References: <37C6973B.97FC1A48@sinfor.fr> <7q6msk$rlh21@forums.borland.com> X-Accept-Language: fr Content-Type: multipart/mixed; boundary="------------2D56D9A5E082263BB3D0854D" Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language