If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

an SMTP implementation

Hello people
I am stuck here with a little problem. As i am intrested in doing a little socket programming. I was looking for SMTP implementation. i got it downloaded from the net. Now I want to know about it that how it works. I have certain confusions about the code, that I want to clear. I am uploading the soucrce (smtp.c file) and I have commented every line with my confusion. I hope some one expert in socket programming will help me out with this.Yesi know it would take a little time but would be a great contribution towards my learning
Thank you all...for reading
ommy

Sorry I don't mean to be rude but googling ip socket programming may give you better info rather than waiting for one here (the first link is good). But before start programming sockets, you need to understand the basic TCP/IP protocols (like SMTP) work. I see you are also confused on some basic C functions work like snprintf, so you may need to refresh your C knowledge.

Like you, I tend to learn programming by examples. But the funny thing is sometimes I don't have enough time (deadlines, yes...) to fully understand how things work. As long as I'm sure (by a few trials and errors) when I do this it'll do that, that's enough for now. Just modify some parameters and it works like I want it to. Understanding will come eventually.

My two cents.

Peace always,&lt;jdenny&gt;

Always listen to experts. They\'ll tell you what can\'t be done and why. Then go and do it. -- Robert HeinleinI\'m basically a very lazy person who likes to get credit for things other people actually do. -- Linus Torvalds