9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am a newbie to Unix/Linux and I have always been fascinated by them.
I just need information on how I can install a Unix/Linux operating system on an Acer Laptop that previously had a Windows XP OS installed.
Any hints or suggestions would be appreciated. (1 Reply)
Discussion started by: Pitsmero
1 Replies
2. Shell Programming and Scripting
Hello Everybody,
thanks in advance for spending some time in my problem.
My problem is this:
I want to call a java-Programm out of my shell skript, check if die return code is right, and split the output to the normal output and into a file.
The following code doesn't work right, because in... (2 Replies)
Discussion started by: danifunny
2 Replies
3. Shell Programming and Scripting
hi all,
can any one plz tell me that what is the difference between linux shell scripting and unix shell scripting.
is there any difference at all?? if yes that what are the differences and how could it be combatted
thanks in advance (1 Reply)
Discussion started by: nasir_khan
1 Replies
4. 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
5. Programming
Hi Friends,
When Iam running c program in redhat linux 7.3 version and PCQ Linux 8.0 version, its taking around 20 seconds. But when Iam running it in HP-UX Release 11i, its taking around 3 minutes. Can anyone throw light on this.
Thanks in advance,
Praveen. (11 Replies)
Discussion started by: chprvkmr
11 Replies
6. HP-UX
Hi
Can anybody tell what are the socket implementation differences between hp 10.x and Solaris 9? Does this affect the application (any) when I migrate from Hp to Solaris?
Charles C. (3 Replies)
Discussion started by: charlcy
3 Replies
7. UNIX for Advanced & Expert Users
:confused: Hi All
Can anyone help me in finding the answer of the question mentioned below.
What is the difference between Unix & linux ?
Thanks in Advance to all
CSaha (1 Reply)
Discussion started by: csaha
1 Replies
8. UNIX Desktop Questions & Answers
ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Discussion started by: cybertechmkteo
1 Replies
9. UNIX for Dummies Questions & Answers
Well i have downloaded some Linux stuff and isos but before i install i really like to know what is the diffirence and i like to install apache webserver , can it be done on Linux ?
I am a real Dummy but after some practice i will be a PRO :-)
Thanks for all the replies .. (1 Reply)
Discussion started by: zodiac
1 Replies
DISCONNECTX(2) BSD System Calls Manual DISCONNECTX(2)
NAME
disconnectx -- disconnects a connection on a socket
SYNOPSIS
#include <sys/socket.h>
int
disconnectx(int socket, sae_associd_t associd, sae_connid_t connid);
DESCRIPTION
The parameter socket is a socket. The communication domain of the socket determines the availability and behavior of disconnectx(). For
connection-oriented socket, disconnectx() is analogous to shutdown(2) with SHUT_RDWR issued on the socket. For connectionless socket, it dis-
associates any existing association to the peer socket.
The parameter associd specifies the association identifier. It should be set to SAE_ASSOCID_ANY.
The parameter connid should be set to SAE_CONNID_ANY.
NOTES
disconnectx() is currently supported only on AF_INET and AF_INET6 sockets of type SOCK_DGRAM and SOCK_STREAM.
RETURN VALUES
The disconnectx() function returns the value 0 if successful; otherwise the value of -1 is returned and the global integer variable errno is
set to indicate the error.
ERRORS
The disconnectx() system call succeeds unless:
[EALREADY] Operation already in progress.
[EBADF] Socket is not a valid descriptor.
[EINVAL] The associd or connid argument is invalid or the underlying protocol is no longer attached to socket.
[ENOTCONN] The socket is not connected.
[ENOTSOCK] Socket is a file, not a socket.
SEE ALSO
connect(2), connectx(2), socket(2), compat(5)
HISTORY
The disconnectx() function call appeared in Darwin 15.0.0
Darwin April 10, 2015 Darwin