10 More Discussions You Might Find Interesting
1. What is on Your Mind?
I am new to this forum and this is my very first post, one i think i will look back at many years from now and have nothing to regret about.
This is simply because i recently installed Linux (Ubuntu) on my system and downloaded a book titled, The Unix Programming Environment. I... (7 Replies)
Discussion started by: despiragado
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
3. IP Networking
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?
Vinayak (1 Reply)
Discussion started by: vinayakj20
4. Shell Programming and Scripting
I want to learn System programming with the help of Unix.
System Programming mean to say
1) Playing with the memory of computer
2) Designing some graphical units
Hope you understand... (2 Replies)
Discussion started by: parthmittal2007
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
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,
" expected " , " , " ; ",or ")" in connect_nonb file...ERROR 1 "
I tried to change mode of makefile but I can't get... (4 Replies)
Discussion started by: nisha_vaghela
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
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
10. UNIX for Dummies Questions & Answers
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
socklog(8) System Manager's Manual socklog(8)
socklog - small and secure syslogd replacement for use with runit
socklog [-rRU] [unix] [path]
socklog [-rR] inet [ip] [port]
socklog [-rR] ucspi [args]
socklog is run under runit's runsv(8), writing syslog messages it receives from unix domain socket path or an inet udp socket ip:port
through a pipe provided by runsv(8) to a svlogd(8) process.
socklog can be run as an ucspi application to listen to an unix domain stream socket and for more flexible distributed logging.
If the environment variables $UID and/or $GID are present, socklog drops permissions to those ids after creating and binding the socket
(not in ucspi mode).
socklog converts syslog facility and priority information to names (facility.priority:) as found in /usr/include/syslog.h at compile time
On solaris socklog also accepts sun_stream as first argument. Please see the web page for details.
socklog [ unix ] [ path ]
Starting socklog with the 1st argument unix, socklog will listen to the unix domain socket path. If path is omitted, the default /dev/log
The 1st argument may be omitted, default is unix.
socklog inet [ ip ] [ port ]
Starting socklog with the 1st argument inet, socklog will listen to the inet udp socket ip:port.
If ip starts with 0, socklog will bind to all local interfaces.
If port is less or equal 1024, socklog must be run by root.
port may be omitted, default is 514. ip may be omitted, default is 0.
socklog prepends a.b.c.d: to each syslog message it receives, where a.b.c.d is the ip address of the connecting system.
socklog ucspi [ args ]
Starting socklog with the 1st argument ucspi, socklog will run as an ucspi application. Normally socklog will only be started in ucspi mode
by an ucspi server tool, such as tcpsvd(8), tcpserver(1) or unixserver.
For each arg, socklog will prepend $arg: to each syslog message, if the environment variable $arg is present (maximum is 8).
-r raw. Write the raw syslog messages (no conversion of facility and priority) to the pipe, additionally to the log messages with sys-
log facility and priority converted to names.
-R raw only. Same as -r above, but write the raw syslog messages only.
-U respect umask. Don't set umask to 0 before creating a unix domain socket, but respect the current setting of umask(2). This option
only takes effect in unix mode.
sv(8), runsvdir(8), runsv(8), svlogd(8), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), nc(1)
Gerrit Pape <email@example.com>