Re: Embedded XP telnet server programming



Oop, sorry "can use" missed , should be :

So you can use there getpeername()

Arkady


"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:e2EVsO76GHA.4620@xxxxxxxxxxxxxxxxxxxxxxx
So you there getpeername()
Arkady

"Andrea Rimicci" <nobody@xxxxxx> wrote in message
news:248ki2d5k4mujhprr3a01oaggj7fmdt20e@xxxxxxxxxx
Use gethostbyname()
Arkady

"Andrea Rimicci" <nobody@xxxxxx> wrote in message
news:31n9i2prcf3ds3ajneekd7n63cd2uikjnv@xxxxxxxxxx
Is there some API around to let an application deal with telnet server
embedded in WinXP?

I mean, for example, an application launched in one session will ask
server some data about the session itself, like client IP and so on.

Hi, to use gethostbyname() I need to know the client hostname.
How can an application running into a telnet session know it?

The application is running on server machine, the other endpoint is
just a telnet client.

For example, a commercial telnet server I used in the past will
provide the client IP into a new environment variable avalaible to the
telnet session.

I just wonder if the integrated telnet server in Windows XP has
something like that (tried to check, it will add just TERM=ansi ), or
just where I can deal with it to get the info.

TIA, Andrea
--
Andrea Rimicci




.



Relevant Pages

  • Re: Telnet Client search
    ... I'd seriously look into the NAT type solution, because CE does have that as ... Another possibility for your scenario is to make the CE Telnet Server act as ... you might be able to code up a Telnet client that does everything you need ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Telnet Negotiation Question!
    ... >> assuming that the telnet server is adding it as it looks very similar ... >A 0xff character means that the next character is a telnet command. ... if the telnet server or client receives such a character as ...
    (comp.unix.programmer)
  • Re: telnet long to offer login
    ... of telnet, also has no impact. ... As a quick try just add the Winsnooze IP address to /etc/hosts file on the telnet server and try if you can connect quickly. ... I don't know if the telnetd in Tru64 Unix does this and as a matter of fact modern services don't use it: the server might check by ident protocol who is the authenticated client process owner. ... If the first metnioned trick with the /etc/hosts file doesn't work - try to add to packet filter on the telnet server stating that outgoing packets directed to ident port should be rejected immediately. ...
    (comp.unix.tru64)
  • Re: Telnet Problem
    ... The problem is when I try to connect to the telnet server from one or more ... client computers on the same local network. ... hosts file takes priority over bind dns info... ...
    (comp.os.linux.networking)
  • Telnet session with fixed TNAnnn: name?
    ... I need to fix the relationship between a PCs IP-address and the VMS ... terminal device name when a user on that PC uses a TELNET ... client to login to VMS. ... an "outgoing" TELNET session to PC "host" associated with TNAunit: ...
    (comp.os.vms)

Loading