Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Descriptor data port
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Sun 25 Jul 2004 01:46 AM (UTC) |
Message
| In stock smaug, descriptor data has a integer member called port. It is set in comm.c withdnew->port = ntohs( sock.sin_port );
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? |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Sun 25 Jul 2004 02:08 AM (UTC) |
Message
| I believe it was only used for information for the Immortals to know what port the player is connect from. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #2 on Sun 25 Jul 2004 02:27 AM (UTC) |
Message
| It simply tells you what port the person's computer opened to make contact with the mud. There's not much useful purpose behind it that I'm aware of. The mud doesn't care what port they are communicating through. | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sun 25 Jul 2004 09:48 PM (UTC) |
Message
| Conceivably you might use it for a packet sniffer, to distinguish one connection from another, however apart from that it is probably one of those things you store because you can, not because it is particularly useful. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
12,411 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top