flat assembler
Message board for the users of flat assembler.

Index > Main > Networking Stuff

Author
Thread Post new topic Reply to topic
Someone



Joined: 19 May 2008
Posts: 9
Someone
Im reading alot of books about ASM and trying to get deeper into the language. But now and then I think about the following: What will I do, once I "know" ASM? I always wanted to code a small chat programm for my home network and for lans. But now comes my question: How hard is that? How much knowledge is required? (I mean a VERY SIMPLE chat tool) And what would be the best way to realize?

Thx
Post 08 Sep 2008, 18:13
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
As an ultra simple chat program you could give Quetannon a try. Set one instance to listening mode and use the other to connect to this listener. Studying this example and looking more resources on Internet is a good start IMHO.

Here a screenshot as an example:Image
Image

The example is more like a p2p chat though, but it is better to start undestanding this first before moving to a client-server model like IRC protocol.

This is a good read: http://www.madwizard.org/programming/tutorials/netasm/
Post 08 Sep 2008, 18:40
View user's profile Send private message Reply with quote
Someone



Joined: 19 May 2008
Posts: 9
Someone
Thanks. How hard would you rate a programm like that? 1 to 10 (10 is the hardest)
Post 08 Sep 2008, 19:01
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
One thousand with no doubts

Now seriously Razz It is not very hard, but the "difficulty score" varies with each person, I would rate it with a 6 for a medium to low scale subset of the IRC protocol with single chat room server and client (my score suppose decent implementation, not just good enough to work on a never failing nor hostile environment). What do you think guys?
Post 08 Sep 2008, 19:40
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
is it possible to use quenaton to connect two distant computers?

a sort of IP hYp€rt€rminal.

if it is possible, i want to try before to give an opinion.
Post 08 Sep 2008, 20:05
View user's profile Send private message Visit poster's website Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
edfed

It is possible. Quetannon is like a Hyperterminal on steroids: it can listen for incoming TCP connection on particular port as well as connect. Hyperterminal can only connect AFAIK (TCP, for serial communications HT is quite good).
Post 10 Sep 2008, 23:11
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Since it is a TCP/IP program it is possible with a 100% of certainty*. Well, the "listen" could be set to hear the local network only but it is not the case of Quetannon.

*Not counting network problems like firewalls blocking traffic in the middle but that exceeds the responsibility of the program.
Post 10 Sep 2008, 23:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.