help on protocol

This is a discussion on help on protocol within the C Programming forums, part of the General Programming Boards category; friends, i am working on a project in which i am taking data from external machine through serial comp port ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    45

    help on protocol

    friends,
    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
    Posts
    1,385
    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
    Location
    Bangalore, India
    Posts
    345
    >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
    Posts
    45
    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, 10:12 AM
  2. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 02:58 PM
  3. Networking Protocol
    By Hunter2 in forum Networking/Device Communication
    Replies: 14
    Last Post: 12-11-2003, 04:51 PM
  4. irc protocol
    By chrismiceli in forum C Programming
    Replies: 4
    Last Post: 09-16-2003, 01:56 AM
  5. HTTP Protocol :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 9
    Last Post: 06-21-2002, 04:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21