Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Does anyone have a C++ telnet example?

1 view
Skip to first unread message

Paul Lutus

unread,
Jan 10, 1999, 3:00:00 AM1/10/99
to
Use a Web search engine with "telnet source" as your search string. There
are dozens of source code listings.

Paul Lutus

Scott Booth wrote in message
<#iRSNHPP#GA....@uppssnewspub05.moswest.msn.net>...
>I'm trying to do 3278 terminal emulation across telnet. Does anyone have
>any C++ (or C) code examples that have anything at all to do with telnet or
>terminal emulation?
>
>TIA
> Scott
>
>

Xinhai Kang

unread,
Jan 11, 1999, 3:00:00 AM1/11/99
to

Why not buy a book named "Internetworking with TCP/IP Volume 3: Client-Server Programming and Applications, Windows Socket Version 1997", by Prentice Hall, there is a example of telnet in C.
BTW, if you cannot find that book, please mail me, I cannot mail you a copy of the source code.

"Scott Booth" <ch...@coates.com.au> wrote:
>I have. And I would expect there to be dozens of examples but finding 1 that
> a. Contains all needed source code
> b. is in C or C++
> c. is free
>Has proved difficult - and I use a multi-cast search engine that spawns
>queries to about a dozen other search engines. If you have any pointers I'd
>be grateful.
>
>Scott.
>
>
>Paul Lutus wrote in message <77bvtr$4ep$1...@remarQ.com>...


>>Use a Web search engine with "telnet source" as your search string. There
>>are dozens of source code listings.
>>
>>Paul Lutus
>>
>
>


-----------------** -- Posted from CodeGuru -- **-----------------
http://www.codeguru.com/ The website for Visual C++ programmers.


Xinhai Kang

unread,
Jan 11, 1999, 3:00:00 AM1/11/99
to

Why not buy a book named "Internetworking with TCP/IP Volume 3: Client-Server Programming and Applications, Windows Socket Version 1997", by Prentice Hall, there is a example of telnet in C.
BTW, if you cannot find that book, please mail me, I can mail you a copy of the source code.

Paul Lutus

unread,
Jan 11, 1999, 3:00:00 AM1/11/99
to
From the top of the list:

http://hayakawa.spara.co.jp/freeware/FreeWare32D/kits/Prebuilt/tn3270/telnet
/Source/

There are dozens of such sites.

Paul Lutus

Scott Booth wrote in message ...

Scott Booth

unread,
Jan 12, 1999, 3:00:00 AM1/12/99
to

Scott Booth

unread,
Jan 13, 1999, 3:00:00 AM1/13/99
to
Again, thankyou Paul.

Don't suppose you know of an example that:-


a. Contains all needed source code
b. is in C or C++
c. is free

d. Works under MS WindowsNT/95
Thanks

Scott


Paul Lutus wrote in message <77esfa$gi0$1...@remarQ.com>...


>From the top of the list:
>
>http://hayakawa.spara.co.jp/freeware/FreeWare32D/kits/Prebuilt/tn3270/telne
t
>/Source/
>
>There are dozens of such sites.
>
>Paul Lutus
>
>Scott Booth wrote in message ...

Andrew T. Brown

unread,
Jan 13, 1999, 3:00:00 AM1/13/99
to

Scott Booth <ch...@coates.com.au> wrote in message
news:OC5$5rrP#GA....@uppssnewspub05.moswest.msn.net...

>Again, thankyou Paul.
>
>Don't suppose you know of an example that:-
> a. Contains all needed source code
> b. is in C or C++
> c. is free
> d. Works under MS WindowsNT/95
>Thanks


This should meet your criteria, though it was implemented w/ Inprise C++
Builder:

http://www.davecentral.com/5398.html

// -------------------------------------------------------------------------
// andrew brown
// mailto:andre...@acm.org
// -------------------------------------------------------------------------

Paul Lutus

unread,
Jan 13, 1999, 3:00:00 AM1/13/99
to
I thought you wanted to examine the source code of a working telnet
application so you could see how the various protocol problems are handled,
then use that as a model for your own code. This is the usual reason for
such a request.

Paul Lutus


Scott Booth wrote in message ...

>Again, thankyou Paul.
>
>Don't suppose you know of an example that:-
> a. Contains all needed source code
> b. is in C or C++
> c. is free
> d. Works under MS WindowsNT/95
>Thanks
>

>Scott
>
>
>Paul Lutus wrote in message <77esfa$gi0$1...@remarQ.com>...
>>From the top of the list:
>>
>>http://hayakawa.spara.co.jp/freeware/FreeWare32D/kits/Prebuilt/tn3270/teln
e
>t
>>/Source/
>>
>>There are dozens of such sites.
>>
>>Paul Lutus
>>
>>Scott Booth wrote in message ...
>>>I have. And I would expect there to be dozens of examples but finding 1
>>that

>>> a. Contains all needed source code
>>> b. is in C or C++
>>> c. is free

0 new messages