Re: TCPIP programming (sockaddr_in question)



Hi Brian,
Well, the "some software" would be TCP/IP services. When testing this,
the
bg device was associated with a telnet session.

Hey, me too (Specifically Telnet); I wonder why?

This is what I get with a show service on telnet: -

Flags: Listen Rtty IPv6

I don't seem to have a description in the ucx help for /FLAGS=IPv6 or
/PROTOCOL=Family=V6 on my version so I assume that you can somehow
communicate the fact that you want the Auxillary Server to listen on an
INET6 socket so that all the progeny get IPv6 capabilities.

Why would I do 2 $QIOs when I need only one. I've been calling the $QIO
and
passing a descriptor pointing to ample space to contain the IPv6
sockaddr_in
structure. There are several ways available to determine what was
returned
and to parse out the data I desire.

I was about to say "So you can at least get the bloody port number for the
v4 devices" but then I checked, and my Telnet BG devices *are* returning the
correct port number, so you're probably wondering what I'm babbling on
about. Then I realized that I'd been looking at the client-side BG devices
(I'm testing with client and server on the same box) and 'cos they're all
connecting to port 1024 or "0004" in network byte order that's why I was
constantly getting a perfectly reasonable port_number, Doh!

I still think the fact that you can get a IPv6 Socket back without the
io$m_extend is a buglet, but in the abscence of differing behaviour in
Multinet or TCPWare, who cares? I'll stop taking up your time now :-)

LOL! :)
Yeah, but you just know that there are those who never laugh at such things.
(Makes it all worthwhile really :-)

Cheers Richard Maher

<VAXman- @SendSpamHere.ORG> wrote in message
news:00A6810C.37D24202@xxxxxxxxxxxxxxxxxxx
In article <f32m99$3q$1@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "Richard Maher"
<maher_rj@xxxxxxxxxxxxxxxxxx> writes:


Hi Brian,

My best guess is that some software on your box is creating a socket
using
the address family AF_INET6. Why someone uses IPV6 (apart from running
out
of addresses) I don't know. New Multicast stuff? Something else wiz-bang?

Well, the "some software" would be TCP/IP services. When testing this,
the
bg device was associated with a telnet session.



Why not try this: -

Use the normal 16 byte IPv4 sockaddr structure and if the first word ends
up
"26" the do a <io$_sensemode!io$m_extend> with the 28 byte structure. (At
that stage can you dump out the owner of the BG device so we can see who
it
is and what software they're running?) If you manage to retrieve the Port
Number then please let me know. Actually, if your observations and
experiences vary *at all* from what I described in the previous reply
then
please let us all know.

Why would I do 2 $QIOs when I need only one. I've been calling the $QIO
and
passing a descriptor pointing to ample space to contain the IPv6
sockaddr_in
structure. There are several ways available to determine what was
returned
and to parse out the data I desire.



From what I think I've seen, I still say it's a bug. John G is too quiet
at
the moment considering he gets up hours before me and, once Bootcamp
winds-up, I think Matt goes on the after-dinner circuit promoting his new
book "Deadlines - Smedlines" so I don't expect to hear much from that
direction :-)

LOL! :)

--
VAXman- A Bored Certified VMS Kernel Mode Hacker
VAXman(at)TMESIS(dot)COM

"Well my son, life is like a beanstalk, isn't it?"


.



Relevant Pages

  • Re: Telnet port 25
    ... Subject: Telnet port 25 ... is the sole responsibility of the customer and depends on the customer's ... Configuring sendmail 8.11.0 for Anti-Relay ...
    (AIX-L)
  • Re: Suggestion for a lexical (login mode via TCPIP)
    ... Not sure of it is the right one to modify or to add another one, but it would be useful to be able to get information on whether the user us coming in via FTP, TELNET, etc. ... This would also allow a LOGIN.COM to check if someone is coming in through a secure/SSL port for instance. ... For the HP SSH server, it seems to be undefined. ... forget about the possibility of virtual terminals. ...
    (comp.os.vms)
  • Re: Cannot telnet to port 25 from Windows 2003 SBS server to itself
    ... XFOR: Telnet to Port 25 of IMC to Test IMC Communication: ... Microsoft is providing this information as a convenience to you. ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Program to list mails from gmail server
    ... Are you sure that is what the server expects? ... in the telnet window. ... > with this lines i get connection (i verified that the port is 995, ... > Socket socket=new ...
    (microsoft.public.win32.programmer.networks)
  • Re: Have to go to web site twice before it comes up
    ... I've ruled out Internet Explorer. ... Telnet does the same thing. ... it's not limited to port 80. ... running on top of it that will have to be re-set up (e.g. DNS, DHCP, AD, ...
    (microsoft.public.win2000.networking)