Hey guys, this is probably a really stupid question... but, I need some help.

I know, that when I go to a website, I am sending packets to port 80, their webserver. I know that when I go to an smtp server, I am sending packets to port 25.

But, when I send packets to a web server on port 80, am I receiving packets on port 80? And when I send packets to port 25, am I receiving packets on 25?

When I run netstat, I see that when I connect to a web server, traffic comes from port 80, and to a port like 3701.

I'm juuuuust getting into programming, and I was thinking about writing a very simple tcp/ip program, however, I don't know what port I should be listening to when I'm receiving packets.

I hope I made sence!

-Drawenai