Bay Six Software Forum Index Bay Six Software
Beyond the Basics
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A TNFS

 
Post new topic   Reply to topic    Bay Six Software Forum Index -> Internet Programming
View previous topic :: View next topic  
Author Message
ardentcrest
Guest





PostPosted: Jan 10th, 2014, 8:30am    Post subject: A TNFS Reply with quote

I have found this code for a TNFS tiny fileserver for the zx Spectrum.

Do you have any pointers fro converting it from C to Liberty basic

spectrum.alioth.net/svn/listing.php?repname=Spectranet&path=%2Ftrunk%2Ftnfs%2Ftnfsd%2F#path_trunk_tnfs_tnfsd_

It uses UDP and all I can find on the LB forum is about TCP

Any help would be greatful.
Back to top
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Jan 10th, 2014, 6:07pm    Post subject: Re: A TNFS Reply with quote

The lack of UDP examples in LB is likely due to how few applications really need it. I think I read somewhere that about 90% of Internet traffic is TCP. UDP is mostly for special cases where the low overhead is needed more than guaranteed reliability.

More to your main question, I have to ask do you have any experience using C or a C-like language? If the answer is "no" or "very little", translating it will be a nightmare.

From my quick look at the readme and main.c files, this app is multi-platform, which means it is loaded with #ifdef's and #elif's for conditional compilation for the features available on certain platforms. Not all C programmers regularly target multiple platforms (including myself) and translating such code to LB would be a very painstaking process.

Do you need the functionality this app provides or do you want to learn how to write a similar app in LB? If the former, you should look around for a compiled EXE or ask someone to build it for you. If the latter, I think you can find easier examples elsewhere.

_________________
Brent
Back to top
View user's profile Send private message Send e-mail
ardentcrest
Guest





PostPosted: Jan 10th, 2014, 7:26pm    Post subject: Re: A TNFS Reply with quote

Thanks for the reply.

I just want it for windows.

I have found some demos that do chat in VB6 and VB.net but like my C my VB is not to be found.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bay Six Software Forum Index -> Internet Programming All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Lo-Fi Version
Powered by phpBB © 2001, 2005 phpBB Group