DataReceived type event for tcpclient network stream?
- From: "JamesB" <jamesb@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Feb 2008 11:27:15 -0000
I have a service and a client forms app - I want to be able to have the service send data back to the client app intermittently, and I've established a connection between the two using tcpclient.
What I can't see is any sort of event I can use that will be triggered when data is received at the client. Is there such a thing?
Or should I create a separate "listening" thread that polls the connection for data and then triggers whatever I need to happen? Or is there a better way?
Thanks!
.
- Follow-Ups:
- Re: DataReceived type event for tcpclient network stream?
- From: Peter Duniho
- Re: DataReceived type event for tcpclient network stream?
- From: Steve Gerrard
- Re: DataReceived type event for tcpclient network stream?
- From: christery
- Re: DataReceived type event for tcpclient network stream?
- Prev by Date: Re: Installing service programatically on Vista not working if UAC ena
- Next by Date: Re: Disabling scrollbars in main form
- Previous by thread: Re: Evaluation order when i++ is used
- Next by thread: Re: DataReceived type event for tcpclient network stream?
- Index(es):
Relevant Pages
|