On 17 Feb, 12:27, "JamesB" <jam...@somewhere.com.net.com.netwrote:
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!
Hah, using network, tcpip... hahaha... that wont work... neither I
will google have that ansver, nor usse msdn, just give up... pick up a
RS-232 manual, or maybe a disc, mailing in that between tha PC:s.
No, there is lots of examples how you should do it, it depends on what
you are going to do in the future that holds me back. a point to point
is good for a while, then it gets into a hub-and-spoke and after a
while you are looking for a ESB solution and integrating that to an
already established SOA architecture migrating from UDDI to whatever..
no I wont go there...
Stay away from tcpip.. networks... evil, EVIL I say... ;)