System.NET, System.Net.Sockets -> TCPListener Issue 
Author Message
 System.NET, System.Net.Sockets -> TCPListener Issue

Hi,

I'm trying listen to all the traffic going to my SQL 2000
Server using the System.Net and System.Net.Sockets
namespace.

Is this possible?  I tried using TCPClient and TCPListener
to do this... but invain!

Thank you.
Shri



Mon, 08 Aug 2005 14:05:14 GMT  
 System.NET, System.Net.Sockets -> TCPListener Issue
If SQL is already up and running, the port SQL uses --1433--should be coming
back as "in use".  If you really want to listen on that port, you'll have to
shut down SQL and then create a listen socket asigning its local port to
that port number.

hth


Quote:
> Hi,

> I'm trying listen to all the traffic going to my SQL 2000
> Server using the System.Net and System.Net.Sockets
> namespace.

> Is this possible?  I tried using TCPClient and TCPListener
> to do this... but invain!

> Thank you.
> Shri



Mon, 08 Aug 2005 14:46:28 GMT  
 System.NET, System.Net.Sockets -> TCPListener Issue
Hi Rich,

Well, the functionality I was looking for was like what MSSQL Profiler
provides.  I want to be able to read all the SQL Statements coming down
through the TDS packets and display them on a form.

Do you think shutting down SQL Server and creating a listen socket to 1433
and then restarting SQL Server will do the trick?

Thanks



Quote:
> If SQL is already up and running, the port SQL uses --1433--should be
coming
> back as "in use".  If you really want to listen on that port, you'll have
to
> shut down SQL and then create a listen socket asigning its local port to
> that port number.

> hth



> > Hi,

> > I'm trying listen to all the traffic going to my SQL 2000
> > Server using the System.Net and System.Net.Sockets
> > namespace.

> > Is this possible?  I tried using TCPClient and TCPListener
> > to do this... but invain!

> > Thank you.
> > Shri



Mon, 08 Aug 2005 23:37:30 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. System.NET, System.Net.Sockets -> TCPListener Issue

2. how to use the system.net.sockets and system.net in VB.net

3. VB.NET system.net.sockets question

4. Trouble with System.Net.Sockets.Socket under Windows 98

5. System.Net.Sockets.Socket Problem

6. System.Net.Sockets.Socket State

7. system.net.sockets.socket async server example

8. Detect Remote Disconnection System.Net.Sockets.Socket

9. System.Net.Sockets.Socket.EndReceive has a bogus return value

10. System.Net.Sockets samples?

11. Imports System.Net.Sockets

12. Where to find the system.net.socket?

 

 
Powered by phpBB® Forum Software