we were tasked to come up with a peer 2 peer chat program using serial ports using only nasm and C language. can anyone give me an idea on how i can do it? or references that can help me figure out what to do.

i'd really appreciate you're help guys. thanks so much!

Recommended Answers

All 5 Replies

what operating system ?

windows OS hehehe thanks for your reply!

Look at MSDN under CreateFile() and there is a link to serial port communications discussions. Your program can not access the serial ports directly as they could in the days of ancient MS-DOS. Since you have a choice of either assembly or C, then write it in C would be a lot easier.

im sorry i stated it the wrong way. we should code it in assembly not in C its just that if ever we find C codes we should translate it to assembly sorry and thanks! anymore good references for assembly?

i need the chat program with assembly

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.