In stock smaug, descriptor data has a integer member called port. It is set in comm.c with But after that, I don't think it is ever used. Pehaps it was intened for something else? If there is any real purpose for this that anyone knows of, would you mind enlightening me?
dnew->port = ntohs( sock.sin_port );