what youre really looking for is a sort of packet sniffer then?
"MB" <(E-Mail Removed)> wrote in message
> I am new to sockets programming, but I need something that seems to be
> I need to monitor a port on a server running a background application in
> order to integrate to another application. I know the port number and the
> vendor will provide me the binary sequence of the data stream going to
> port. This is all they will provide.
> On this stream (among other info) I will receive an active or inactive
> that represents the state of the application icon on the system tray. When
> active it turns green, when inactive it turns red.
> Is it possible to snoop this port using the namespace
> System.Net.Sockets.Tcplistener or another namespace ?
> Is it possible to read the data stream without affecting the backgound
> application, which is also reading the stream.
> Thanks a lot