I've been working on my first network program and the goal is send an ip packet, receive it, strip the payload and than do something with that payload. I do not know if I have taken the right approach to this problem, but I decided to create a tcp client/server program. For now, I have both programs on the same pc, so they are both using local ip and same port to connect. I am using SharpPcap (since im programming in C#) to create a random packet. This packet is being created in my client program and is actually sending it to my server program. So I know the communication is fine. My problem is, the server is listening to my local ip, so its receiving all these packets along with the one im sending. I've tried using filters on the port I am using so that I only receivce ip and tcp packets but I havent had much luck. Is there any way I can listen for my client's packet only? any suggestions?