DiscoJimmy
Member
- Joined
- Oct 16, 2003
- Messages
- 8
Hi,
Im not sure how to go about this, but I know its possible. I have an application using a TCP socket to send and receive info on a certain port. Now I want another program to listen to the same port, and read the incoming data, but without disturbing the previous socket. Ive seen software called packet sniffers, or port sniffers, that are accomplishing this, but with the .NET socket class you cant bind two sockets to the same port.
Anyone have any ideas on how to do this? I think it may have something to do with the IOctl method of the socket, but I have no idea how.
DiscoJimmy
Im not sure how to go about this, but I know its possible. I have an application using a TCP socket to send and receive info on a certain port. Now I want another program to listen to the same port, and read the incoming data, but without disturbing the previous socket. Ive seen software called packet sniffers, or port sniffers, that are accomplishing this, but with the .NET socket class you cant bind two sockets to the same port.
Anyone have any ideas on how to do this? I think it may have something to do with the IOctl method of the socket, but I have no idea how.
DiscoJimmy