Skip to content

Chat application with synchronous communication via Recommended Standard 232.

Notifications You must be signed in to change notification settings

stutlerxgod/rs232-synchronous-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RS232-synchronous-chat

Chat application with synchronous communication via Recommended Standard 232.

Project files:

  • 'rs232.c' contains functions for

    • rs232_open
    • rs232_close
    • rs232_read
    • rs232_write
  • 'rs232.h' contains

    • structure rs232_obj
    • declaration of rs232 functions
  • '232chat.c' contains

    • ReadThread func

      Constantly waiting and reading a message from another user

    • main

      Select COM port, user name, laucnh ReadThread func, reading a user message and sending it.

Installation

Connect 2 computers via rs232 and run the code on each computer.
Find the COM port to which each computer is connected and enter it into the program.
Specify your nicknames and enjoy chatting.

You can also connect the rs232 to 2 different ports on the same pc and run 2 windows in the program.

You can install any virtual serial port driver if you do not have a physical rs232.

About

Chat application with synchronous communication via Recommended Standard 232.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages