Thread overview
Network code example
May 18, 2007
Yoda
May 18, 2007
Dejan Lekic
May 18, 2007
Yoda
May 18, 2007
BCS
May 18, 2007
Yoda
May 18, 2007
BCS
May 18, 2007
Hello,
I have found these language short time before.
I even found a german Book: http://www.steinmole.de/d/d_buch.pdf
But there is nothing writen about network programing.

Please can some one give me a small example code for a telnet conection? Thanks! That will be great.

greeting
Yoda
May 18, 2007
Yoda, I haven't seen someone did an implementation of the telnet protocol (RFC can be found on http://www.faqs.org/rfcs/rfc854.html ), so I fear you must write it.
For an example of socket programming refer to the sample application bundled with DMD. Use Phobos reference manual to get some clues how to work with Sockets.

Kind regards
Dejan

May 18, 2007
Reply to Yoda,

> Hello,
> I have found these language short time before.
> I even found a german Book: http://www.steinmole.de/d/d_buch.pdf
> But there is nothing writen about network programing.
> Please can some one give me a small example code for a telnet
> conection? Thanks! That will be great.
> 
> greeting
> Yoda

under the digitalmars.D NG there is a thread title "Can't work with sockets" (5/6/07) There is a short "make a connection" program that should get you started


May 18, 2007
Dejan Lekic Wrote:

> Yoda, I haven't seen someone did an implementation of the telnet protocol (RFC can be found on http://www.faqs.org/rfcs/rfc854.html ), so I fear you must write it.
> For an example of socket programming refer to the sample application bundled with DMD. Use Phobos reference manual to get some clues how to work with Sockets.
> 
> Kind regards
> Dejan
> 
Oh, that is very sad.
I have not the knowledge for a work like these.
Thanks
May 18, 2007
BCS Wrote:

> Reply to Yoda,
> 
> > Hello,
> > I have found these language short time before.
> > I even found a german Book: http://www.steinmole.de/d/d_buch.pdf
> > But there is nothing writen about network programing.
> > Please can some one give me a small example code for a telnet
> > conection? Thanks! That will be great.
> > 
> > greeting
> > Yoda
> 
> under the digitalmars.D NG there is a thread title "Can't work with sockets" (5/6/07) There is a short "make a connection" program that should get you started
> 
> 
Thanks, I have found it.
But I think it is for me not possible to make these up to work like telnet. Because I am not a programer, I am a beginner...
I think, I have to wait...
May 18, 2007
Reply to Yoda,

> BCS Wrote:
> 
>> Reply to Yoda,
>> 
>>> Hello,
>>> I have found these language short time before.
>>> I even found a german Book: http://www.steinmole.de/d/d_buch.pdf
>>> But there is nothing writen about network programing.
>>> Please can some one give me a small example code for a telnet
>>> conection? Thanks! That will be great.
>>> greeting
>>> Yoda
>> under the digitalmars.D NG there is a thread title "Can't work with
>> sockets" (5/6/07) There is a short "make a connection" program that
>> should get you started
>> 
> Thanks, I have found it.
> 
> But I think it is for me not possible to make these up to work like
> telnet. Because I am not a programer, I am a beginner...
> 
> I think, I have to wait...
> 

for the most part, telnet just takes the keyboard input and stuffs it down the pipe and take the stuff coming back over the pipe and stuffs it on the screen. You can get away with not knowing much about the actual standard if you don't plan on doing anything fancy.