Sponsored Content
Full Discussion: Unix network programming
Top Forums Programming Unix network programming Post 302517605 by nisha_vaghela on Wednesday 27th of April 2011 08:59:37 AM
Old 04-27-2011
Unix network programming

Hi!

I am working on fedora..
trying to execute BSD4.4 client-server program which includes "unp.h" header file...


While executing make command, I got error like,
Code:
"     expected " , " , " ; ",or ")" in connect_nonb file...ERROR 1  "

I tried to change mode of makefile but I can't get result.....Smilie

can Anybody help me to solve it???

Last edited by pludi; 04-27-2011 at 10:10 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Network Programming

I am going to purchase Unix Network Programming by Stevens. The only question I have is which edition to buy. The older (early 90's) edition, or the newer (late 90's) edition. I know conventional thinking would point to the latest ( and greatest?), but I wanted to get some feedback from the forum.... (3 Replies)
Discussion started by: dangral
3 Replies

2. Programming

Network Programming in Unix

Good day everyone, Please help if you are interested in. I need to do a chat client-server program. Does anyone know where I can get references or sample programs? Thank you very much for your time Eric (2 Replies)
Discussion started by: powermind
2 Replies

3. UNIX for Dummies Questions & Answers

Unix and Linux Network Programming

I want to develop a hybrid IM application which will consist of a chat and an offline messaging (BBS) part. Server must support Multiple connection (concurrent) Arguments should not be hard coded (code will be checked at different machines) No input at the command line Must run in the... (3 Replies)
Discussion started by: never mind
3 Replies

4. UNIX for Dummies Questions & Answers

Wireless network programming in Unix (question)

Greetings everyone, I've been using OpenWRT for some time primarly for research in the University. I've also started with some basic network programming (sending UDP packets for instance). But since most of the available tutorials on unix network programming are more related to ethernet... (4 Replies)
Discussion started by: aztroboy
4 Replies

5. Programming

Unix Network Programming

I have written a client-server program which does some data from a file in server to the client. In this I don't want the client to wait indefinitely if server is not running. For this I am using SELECT system call, in this system call we can specify timings as an argument, which tells the client... (2 Replies)
Discussion started by: naresh046
2 Replies

6. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

7. IP Networking

Network programming on UNIX env on windows

Hi, I have to start doing network programming in C/Unix but I have windows installed. Could someone please guide me how to set up the environment best suited for the networking programming? Regards Vinayak (1 Reply)
Discussion started by: vinayakj20
1 Replies

8. Programming

UNIX Network Programming making files problem

I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and the readme says I must make the files. zuro@zuro:~/book/unpv12e$ cd lib zuro@zuro:~/book/unpv12e/lib$ make gcc -g -O2 -D_REENTRANT -Wall -c -o... (5 Replies)
Discussion started by: xuro
5 Replies

9. Programming

UNIX network programming execution problem

I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and performed all the steps present in README file.Now when i compile my first program it give the following error. sainandan@nandan:~/unpv13e/intro$ ./daytimetcpcli... (1 Reply)
Discussion started by: bsainandan
1 Replies

10. UNIX for Advanced & Expert Users

Is it possible to understand the subjects of 2nd volume of UNIX Network Programming with APUE

Is it possible to study second volume of Unix Network Programming - Interprocess communication (by Stevense) with Advanced Programming in Unix Environment by the same author? I've got the idea that the topics/subjects in second volume has more to do with non network programming hence it seems... (0 Replies)
Discussion started by: vectrum
0 Replies
rexd(1M)																  rexd(1M)

NAME
rexd - RPC-based remote execution server SYNOPSIS
log_file] mountdir] DESCRIPTION
is the RPC server for remote command execution. A is started by when a remote execution request is received (see inetd(1M)). exits when command execution has completed. If the user ID (uid) in the remote execution request is assigned to a user on the server, executes the command as that user. If no user on the server is assigned to the uid, does not execute the command. The option and security file allow for better access control (see inetd.sec(4)). For noninteractive commands, standard output and error file descriptors are connected to sockets. Interactive commands use pseudo termi- nals for standard input, output, and error (see pty(7)). If the file system specified in the remote execution request is not already mounted on the server, uses NFS to mount the file system for the duration of the command execution (see nfs(7)). mounts file systems with the and options. For more details on mount options see mount(1M). If the server cannot mount the file system, an error message is returned to the client. By default, any mount points required by are created below To change the default location, use the option. Options recognizes the following options and command-line arguments: Log any diagnostic, warning, and error messages to log_file. If log_file exists, appends messages to the file. If log_file does not exist, creates it. Messages are not logged if the option is not specified. Information logged to the file includes date and time of the error, host name, process ID and name of the function generating the error, and the error message. Note that different RPC services can share a single log file because enough information is included to uniquely identify each error. Create temporary mount points below directory mountdir. By default, creates temporary mount points below The directory mountdir should have read and execute per- mission for all users (mode 555). Otherwise, denies execution for users that do not have read and execute permis- sion. Use increased security checking. When started with the option, denies execution access to a client unless one of the following conditions is met: o The name of the client host is in file on the server. o The user on the server that is associated with the uid sent by the client has an entry in specifying the client name on a line or the client name followed by at least one blank and the user's name. For example, assume a user whose login name is is assigned to uid 7 on and executes the following command: User on must have one of the following entries in DIAGNOSTICS
The following is a subset of the messages that could appear in the log file if the option is used. Some of these messages are also returned to the client. was unable to the user's current working file system. See for more details. The path name mountdir, under which temporary mount points are created, is not a directory or does not exist. could not find command. was denied permission to execute command. The executable file is currently open for writing. was unable to execute command. does not allow execution as user The uid uid is not assigned to a user on the server. was started with the option and the remote execution request did not meet either of the conditions required by the option. The host host on which the user's current working directory is located is not running Therefore, is unable to mount the required file system (see mountd(1M)). The host on which the client's current working directory is located does not have the server on the export list for file system file_system containing the client's current working direc- tory. Therefore, is unable to mount the required file system. WARNINGS
The client's environment is simulated by but not completely recreated. The simulation of the client's environment consists of mounting the file system containing the client's current working directory (if it is not already mounted) and setting the user's environment variables on the server to be the same as the user's environment variables on the client. Therefore a command run by does not always have the same effect as a command run locally on the client. The protocol only identifies the client user by sending the uid of the client process and the host name of the client. Therefore, it is very difficult for to perform user authentication. If a user on the server is assigned to the uid sent by the client, executes the requested command as that user. If no user on the client is assigned to the uid sent by the client, returns an error. The option has been added to provide increased user authentication. However, the authentication provided is not foolproof, and is limited by the information passed by the protocol. In order to simulate the client's environment, mounts the file system containing the client's current working directory (if it is not already mounted). This mount is intended to be temporary for the duration of the command. If mounts a file system, it attempts to the file system after the command has completed executing. However, if receives a signal (see sig- nal(2)), the file system is not unmounted. The file system remains mounted until the superuser executes the appropriate command or the server is rebooted. attempt to umount the file system can also fail if the file system is busy. The file system is busy if it contains an open file or a user's current working directory. The file system remains mounted until the superuser executes the appropriate command or the server is rebooted. For more information on security issues, see Security issues and their consequences should be considered before configuring to run on a system. FILES
master pseudo terminals slave pseudo terminals master pseudo terminals slave pseudo terminals configuration file for inetd(1M) list of equivalent hosts user's private equivalence list temporary mount points for remote file systems where xxxxx is a string of alpha numeric characters. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
on(1), inetd(1M), mount(1M), dfstab(4), inetd.conf(4), inetd.sec(4). Using and Administering NFS Services rexd(1M)
All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy