Search code examples
c++network-programmingsmtpwinsock2

(Winsock) SMTP server not receiving anything


I'm trying to create a simple SMTP server using Windows Winsock, and currently it's just a TCP server printing whatever it receives. However, when I connect to it, it's not receiving any data; it's getting connections but nothing else (not even disconnection messages). If I change the port to anything but 25, everything works. The port is open and allowed in the firewall. What could be the cause?

Edit: Found a solution, check out my own answer.


Solution

  • Never mind, it was Norton messing with me all along. If someone's having the same problem, I solved it by going into Norton -> Settings -> Antivirus and turning off Email Antivirus Scan.