File:  [NetBSD Developer Wiki] / wikisrc / examples / socket_programming / Attic / comment_2_a836730a2789ef150aa044450c85b44a._comment
Revision 1.1: download - view: text, annotated - select for diffs
Wed Jul 9 10:44:03 2014 UTC (7 years, 10 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by https://www.google.com/accounts/o8/id?id=AItOawmctq-5pm0gmzv3H9bPhvgE1c0cQumgly4: Added a comment: Please provide source code :)

    1: [[!comment format=mdwn
    2:  username="https://www.google.com/accounts/o8/id?id=AItOawmctq-5pm0gmzv3H9bPhvgE1c0cQumgly4"
    3:  nickname="Saikrishna"
    4:  subject="Please provide source code :)"
    5:  date="2014-07-09T10:44:02Z"
    6:  content="""
    7: Please provide the source code the for the below question.
    8: 
    9: Message Details
   10: There are totally 7 messages - Syntax/Structure is as below. 1. LOGIN 2. NEEDAUTH - randomly generated 3. AUTH 4. LOGINOK - no value sent. O byte length 5. ERROR - can be 0 byte length or contain an error string 6. GETFILE 7. DATA - x bytes indicating size + x bytes of data Note: x can be 0. which means empty file! A Sample Messaging
   11: 
   12: C - Client; S - Server
   13: C: LOGIN rajesh S: NEEDAUTH aa1123 C: AUTH <Hash(Password + aa1123)> S: LOGINOK C: GETFILE detail.txt S: ERROR \"No Such file\" C: GETFILE details.txt S: DATA 100 \"some data ... of 100 bytes\" Client closes the connection after receiving the DATA and stores the data received into a file.
   14: 
   15: 
   16: """]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb