Thread: help on protocol

  1. #1
    Registered User
    Join Date
    Jul 2002

    help on protocol

    i am working on a project in which i am taking data from external machine through serial comp port (Com1/Com2).
    i am using c's outport() and inport() functions for data transfer..
    So my question is Which protocol I am using?
    for data transfer i am using 3 wire cable .
    so please let me know about protocol...

  2. #2
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    you can set parts of the protocol config, like odd/even parity and flow control.
    Monday - what a way to spend a seventh of your life

  3. #3
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Bangalore, India
    >So my question is Which protocol I am using?
    Probably your own protocol. outportb/inportb only write/read data provided to/by the desired port. It's upto each of the machines connected through the port to interpret the data present the way they want to. This interpretation is called the protocol. So, how are you making the machines talk? This is itself the protocol.

  4. #4
    Registered User
    Join Date
    Jul 2002
    i am setting the baud rate, start bit and stop bit.. and alsoparity through my program.... so that means i am using my ow protocol?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Address family not supported by protocol
    By -EquinoX- in forum Networking/Device Communication
    Replies: 5
    Last Post: 03-28-2009, 09:12 AM
  2. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  3. Networking Protocol
    By Hunter2 in forum Networking/Device Communication
    Replies: 14
    Last Post: 12-11-2003, 03:51 PM
  4. irc protocol
    By chrismiceli in forum C Programming
    Replies: 4
    Last Post: 09-16-2003, 12:56 AM
  5. HTTP Protocol :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 9
    Last Post: 06-21-2002, 03:07 PM
Website Security Test