Win a copy of Rust Web Development this week in the Other Languages forum!

John J Smith

Greenhorn
+ Follow
since Jan 26, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by John J Smith

Hi all. This is my first post here, so here it goes:
I was just wondering if anybody could offer me any suggestions on this (I know I can do it using streams... just don't know exactly how).
I am writing a small File Transfer client (TFTP). In a netascii transfer, the data consists of lines of ASCII text followed by a carriage return and a linefeed (CR/LF). The client that I am writing is responsible for converting between netascii format and the format used by the machine that I am running the client on.
I know Unix will support this CR/LF, but I think a Windows based machine just uses Line Feeds. Any suggestions? Thanks alot! I like the site!
20 years ago