Sponsored Content
Full Discussion: character I/O basics
Top Forums UNIX for Dummies Questions & Answers character I/O basics Post 43306 by starless on Friday 14th of November 2003 04:00:21 PM
Old 11-14-2003
test_app only uses "cin" for user input. It has not been written to be used with a file at first, I want to use a file to automate user input for testing purposes. It is intented to test the communication with a serial device. It has not been written to use the tty interface. Unfortunately, I don't know what this means.
"Going too fast" means that I want to simulate user input, so I don't want test_app to grab characters from input.txt at a very high rate. Instead, I want to feed it with characters at a fixed rate, say 1 sec.
Hope this helps helping me!
TY!
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Basics

Hey, you said this forum was for Dummies, so don't blame me for the following! :D My whole "web building" life, I've had my sites hosted in one for or another. Lately, I've gotten into PHP and MySQL and, of course, those are also hosted for me. But lately, I've been thinking of using PHP and... (2 Replies)
Discussion started by: cap97
2 Replies

2. UNIX for Dummies Questions & Answers

Installation basics

hello, Im new to this Os. so, can i get any information'bout installation basics of unix. (1 Reply)
Discussion started by: Abhijit Bhatt
1 Replies

3. IP Networking

SAN basics

Hi I like to learn and practice SAN, iSCSI. Could you sugges the appropriate tutorial and small tasks to practice SAN. Thankyou (1 Reply)
Discussion started by: kingskar
1 Replies

4. AIX

DB2 basics

Dear friends I am going to study DB2 and i dont have any experience with any DB's.. Please provide me with some links or pdf's for DB2 starters. any advice will be very usefull (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

5. UNIX for Dummies Questions & Answers

awk basics

Hi, Please tell me where can I get started with awk..like the basics and the whole awk stuff. Regards, Deepti (2 Replies)
Discussion started by: gaur.deepti
2 Replies

6. Shell Programming and Scripting

ls command basics???

how do i use the ls command with a single argument to list all files whose names end with the letter 'r'? (7 Replies)
Discussion started by: lilbo4231
7 Replies

7. UNIX for Dummies Questions & Answers

help me with basics

hello everyone i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal? these... (4 Replies)
Discussion started by: aryancool
4 Replies
UNIX(7P)																  UNIX(7P)

NAME
UNIX - local communication domain protocol SYNOPSIS
DESCRIPTION
The local communication domain protocol, commonly referred to in the industry as the Unix domain protocol, utilizes the path name address format and the address family. This protocol can be used as an alternative to the Internet protocol family (TCP/IP or UDP/IP) for communi- cation between processes executing on the same node. It has a significant throughput advantage when compared with local IP loopback, due primarily to its much lower code execution overhead. Data is looped back at the protocol layer (OSI Level 4), rather than at the driver layer (OSI Level 2). Only is supported in the address family. The HP-UX implementation of the local communication domain protocol does not support the flag in (see recv(2)) and (see send(2)). Addressing socket addresses are path names. They are limited to 92 bytes in length, including a terminating null byte. Calls to to an socket utilize an addressing structure called (see bind(2)). Pointers to this structure should be used in all socket system calls wherever they require a pointer to a The include file defines this addressing structure. Within this structure are two notable fields. The first is sun_family, which must be set to The next is sun_path, which is the null-terminated character string that specifies the path name of the file associated with the socket (for example, Only the passive (listening) socket must bind to an address. The active socket connects to that address, but it does not need an address of its own. For additional information on using sockets for interprocess communication, refer to the BSD Sockets Interface Programmer's Guide. Socket Buffer Size For stream and datagram sockets, the maximum send and receive buffer size is 262142 bytes. The default buffer size is 32768 bytes. The send and receive buffer sizes can be altered by using the and options of the system call. Refer to getsockopt(2) for details. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
getsockopt(2), socket(2). UNIX(7P)
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy