10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
bash-3.2$ uname -a
Linux mymac 2.6.18-409.el5 #1 SMP Fri Feb 12 06:37:28 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
bash-3.2$ telnet 10.12.228.40 13900
Trying 10.12.228.40...
telnet: connect to address 10.12.228.40: Connection refused
bash-3.2$ telnet 10.12.228.40 23900
Trying... (2 Replies)
Discussion started by: mohtashims
2 Replies
2. Programming
Hai every one ,,,
I am runinng one tcp socket in non-blocking mode. In the connect state(operation in progress) if the server is not running ,client socket select will give success.
FD_ISSET(socketfd,&wfd) will give me succes always and am getting wfd value as 16. I tried with blocking... (6 Replies)
Discussion started by: andrew.paul
6 Replies
3. IP Networking
I need clarification on whether it is okay to set socket options on a listening socket
simultaneously when it is being used in an accept() call?
Following is the scenario:-
-- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies
4. Windows & DOS: Issues & Discussions
Dear Expert,
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
Discussion started by: regmaster
2 Replies
5. UNIX for Advanced & Expert Users
Hello,
I need help to replace the ................. of client.c that request the server implemented by server.c
------------------
Listing 1 - server.c
/* Inclusion des différentes librairies nécessaires */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
... (0 Replies)
Discussion started by: bounkolh
0 Replies
6. UNIX for Advanced & Expert Users
Is there a performance advantage of one of these over the other? Obviously, it makes no sense to use normal TCP sockets or UDP sockets w/ the overhead they carry. But what about UNIX domain sockets vs FIFOs? I'd think they'd be very similar, in terms of performance and in terms of how they're... (2 Replies)
Discussion started by: mgessner
2 Replies
7. UNIX for Dummies Questions & Answers
Hey everyone,
We have a Windows2003 Domain here at my workplace. I'm getting ready to switch over our bottom floor to the new domain. Will they still be able to see our UNIX machine that is setup now (on our workgroup) or will I need to join the UNIX machine to the domain. If that is the case... (4 Replies)
Discussion started by: Duki
4 Replies
8. UNIX for Dummies Questions & Answers
Hiya,
what is the exact command to add a Unix machine to the existing domain?
Is this command different for Linux/HP-Ux?
thanks (3 Replies)
Discussion started by: Wize
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Can I make a UNIX or LINUX machine a member of MS Active Directory 2003?
How?
Regards
Leo (4 Replies)
Discussion started by: Teamplay
4 Replies
10. IP Networking
hello,
how can we create a domain in unix operating systems. By domain i mean which is used to maintain remote user logins and etc.
cheers (1 Reply)
Discussion started by: vibhory2j
1 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)