   Outgoing packet through Winpcap
  Thanks moderator to reply for my previous threadI want to take information of outgoing packet from my computer.When i am running warcraftTFT from another computer and i am running Winpcap program on my Pc. I can see packets which are coming on my PC. But i want to see all packets which are going from my computer to others. How will i do this? Is there any program or help related with outgoing packets ?Thanks in advance   
  So, you have two PCs:PC 1: Running warcraftPC 2: Running WiresharkAnd you want to capture the packets going to and from PC 1, through Wireshark on PC 2?If PC 1 and PC 2 are connected via a router or switch, then it's probably not possible, the router or switch won't forward packets to PC 2 if they're not for that PC. If you have the two PCs connected with a hub, then it should work though, since a hub will just pass on any network traffic without filtering it.   ;  I have 2 pc1 PC )Running warcraft TFT2 PC) Winpcap program (my own modified code to see packets data) When i am playing game i am seeing data which is sending by 2pc to me through my winpcap.And now i want to do with followingI have 1 pc with 2 process.1 process) Warcraft TFT2 process) To see outgoing packets to others pc (lookup for running game on lan from my pc).How will i know what packets are going to all other pc through wPcap lib.  ;Quote:Original post by ryan009ryan2 process) To see outgoing packets to others pc (lookup for running game on lan from my pc).How will i know what packets are going to all other pc through wPcap lib.I don't understand; The libpcap library will tell you all packets that are being passed through the network adapter you are sniffing on - which will be all packets going from the PC that your sniffer app is running on, to all other PCs, on the local network or Internet - and all packets being received by the PC your sniffer app is running on.   ;  I have two process running and opening a UDP socket in 6112 port by SO_REUSABLE (IN C++). I want to send and receive packets of data using  a socket interchangeably by this 2 process ON SAME PORT. I have tried this but not able to do it.I mean i am not receiving data on same port with this 2 process.If problem in understanding plz reply i will try to filter more. Thanks;  You mean you have two processes recv'ing data on one UDP port?   ;  Yes Exactly !! i have 2 process and they are communicating with same port but i am not able to see data between communication.   ;  Weren't you told in your last post that you can't recv data on the same port from two processes and expect it to work?   ;  That time i was using 2 or more computer and i was receiving data from traffic. But presently in one machine with 2 process and those 2 process are sharing same port and i want to send/receive data with 2 process on same port. This is my basic problem." Warcraft send and receive data to all connected compter through LAN (multiplayer concept). I have made a process which is sharing same port which is using by warcraft.so i can send/receive data to game also and by i can sniff gamedata for other computer which is connected through LAN from port 6112.But here 2 process are running on same port so they are not sharing their data.";  I'm, confused:Quote:Original post by ryan009ryanI have a computer which is running 2 process on 6112 port.You said you did have 2 processes on one PC, and you were told that it's not likely to work. How is what you're doing now any different?   