Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Re: System.Net.Sockets.Tcplistener (http://www.velocityreviews.com/forums/t19547-re-system-net-sockets-tcplistener.html)

jeff 07-17-2003 02:09 PM

Re: System.Net.Sockets.Tcplistener
 
Please see inline comments:

"MB" <marcoyukon@hotmail.com> wrote in message news:uhm0nbGTDHA.2316@tk2msftngp13.phx.gbl...
> I am new to sockets programming, but I need something that seems to be very
> simple.
>
> 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 that
> port. This is all they will provide.
>
> On this stream (among other info) I will receive an active or inactive bit
> that represents the state of the application icon on the system tray. When
> active it turns green, when inactive it turns red.



It seems you need a piece of socket listener code.

>
> Is it possible to snoop this port using the namespace
> System.Net.Sockets.Tcplistener or another namespace ?
>


Yes, you can do it by System.Net.Sockets.Tcplistener if it is in tcp protocol or System.Net.Sockets.UdpClient if in udp protocol.


> Is it possible to read the data stream without affecting the backgound
> application, which is also reading the stream.
>


What's this mean? Where the stream come from? Is the background also a socket listener?


> Thanks a lot
>
> Marco
>
>
>
>




All times are GMT. The time now is 11:21 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57