fsxNet Wiki

BBS Development & Resources

User Tools

Site Tools


tutorials:crystal_bbs:part_zero

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:crystal_bbs:part_zero [2017/03/19 12:25]
sardaukar
tutorials:crystal_bbs:part_zero [2018/03/29 01:58] (current)
Line 1: Line 1:
 ===== Crystal BBS - Part Zero ===== ===== Crystal BBS - Part Zero =====
  
-===== Intro the the Telnet protocol ​=====+==== Intro the the Telnet protocol ====
  
 This is by no means an exhaustive intro to Telnet, but a few basic notions are needed. The reason we're going into Telnet at all is because at the time this is being written (March 2017) dial-up is not really a thing anymore, and of the remaining BBSs, the large majority is accessible via Telnet, with some featuring SSH as an option. ​ This is by no means an exhaustive intro to Telnet, but a few basic notions are needed. The reason we're going into Telnet at all is because at the time this is being written (March 2017) dial-up is not really a thing anymore, and of the remaining BBSs, the large majority is accessible via Telnet, with some featuring SSH as an option. ​
Line 109: Line 109:
 And just like that, both client and server agreed that the ''​Go Ahead''​ feature is not to be used in this connection! Other messages are being exchanged in the full sequence above regarding speed, input type (binary or text) and even NAWS (''​Negotiate About Window Size''​),​ which has an awesome name. All of these will be addressed as we need them for our BBS, most on the next part of the tutorial. But you can tell from the design of the protocol that clients can be quite flexible in how they interact with any Telnet server you write, if you reply to feature negotiation messages appropriately! And just like that, both client and server agreed that the ''​Go Ahead''​ feature is not to be used in this connection! Other messages are being exchanged in the full sequence above regarding speed, input type (binary or text) and even NAWS (''​Negotiate About Window Size''​),​ which has an awesome name. All of these will be addressed as we need them for our BBS, most on the next part of the tutorial. But you can tell from the design of the protocol that clients can be quite flexible in how they interact with any Telnet server you write, if you reply to feature negotiation messages appropriately!
  
-The one problem with this setup is that there is not definitive "​end"​ marker to the negotiation step of the connection, since //at any time// you can receive or send one of these messages to turn features on and off. +The one problem with this setup is that there is no definitive "​end"​ marker to the negotiation step of the connection, since //at any time// you can receive or send one of these messages to turn features on and off. 
  
 So this is Telnet in a nutshell - a text-oriented protocol that has special command messages mixed in.  So this is Telnet in a nutshell - a text-oriented protocol that has special command messages mixed in. 
tutorials/crystal_bbs/part_zero.1489926323.txt.gz ยท Last modified: 2018/03/29 01:58 (external edit)