so you are saying it sends the data in groups? how do i know how many calls to recv i need to do before the server is done sending everything it needs to send? because if i call recv after the server is done sending everything, the program will just deadlock waiting. any suggestions? anybody know anything about pop3? thanks