|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Know dx help out, thank you for the
Just contact Unix Network Programming : | |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair File head yet? |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair #include "Sys/socket.h>; |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Then said no definition?
Did you not support the os ah?
About whether or not man. |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair #inlclude "Sys/types.h>;
To be man
I think ah Bamboo Gang Brother
Socket is the fourth year I have no idea |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair System sparc-solaris9 |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair What kind of procedures you?
Put out wrong information originals.
I have not used it. |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Cc [flag. . . ] File. . . -lsocket -lnsl [Library. . . ]
Seen in the past on this issue, and should be related to this man to the top, do not know how to use |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair The document is not defined
Symbols in the paper
Socketpair /var/tmp//cc00i5Cq.o
Ld : : Symbol reference to the fatal mistake was not included in output. T23
Collect2 : ld returned 1 exit status
# |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair -->
Thank you, ah, know what kind |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair -->
What is your os that point clear. Some os
The document requires the Secretary added, and some do not.
Cc [flag. . . ] File. . . -lsocket -lnsl [Library. . . ]
This should be the happiest solaris, it is not the aix.
The manual should describe your man. |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Yes, I was solairs9
# Man socketpair
...
Sockets Library Functions socketpair (3SOCKET)
NAME
Socketpair-create a pair of connected sockets
SYNOPSIS
Cc [flag. . . ] File. . . -lsocket -lnsl [Library. . . ]
#include "Sys/types.h>;
#include "Sys/socket.h>;
Int socketpair (int domain, int type, int protocol, int
Sv[2]);
DESCRIPTION
The socketpair () call creates an unnamed pair of library
Connected sockets in the specified address family domain, of
The specified type, that uses the optionally specified pro-
Tocol. The descriptors that are used in referencing the new
Sv[1] in sv[0] and sockets are returned. The two sockets are
Indistinguishable.
RETURN VALUES
Socketpair () returns -1 on failure and 0 on success.
ERRORS
The call succeeds unless :
EAFNOSUPPORT
The specified address family is not supported on this
Machine.
EMFILE
Too many descriptors are in use by this process.
ENOMEM
There was insufficient user memory for the operation
To complete.
There were insufficient resources for the ENOSR STREAMS
Operation to complete.
EOPNOTSUPP
The protocol does not support creation of 202
Socket pairs.
EPROTONOSUPPORT
The specified protocol is not supported on this
Machine.
EACCES
The process does not have appropriate privileges.
ATTRIBUTES
SunOS 5.9 Last change : 10 Jan 2001 1
Sockets Library Functions socketpair (3SOCKET)
See attributes (5) for descriptions of the following attri-
Butes :
____________________________________________________________
ATTRIBUTE ATTRIBUTE VALUE | TYPE | |
|_____________________________|_____________________________|
Safe MT-Level | | |
|_____________________________|_____________________________|
SEE ALSO
Pipe (2), read (2), write (2), socket (3HEAD), attributes (5)
NOTES
This call is currently implemented only for the AF_UNIX
Address family.
SunOS 5.9 Last change : 10 Jan 2001 2
If not stated how man with contact time soon do not know how to use Unix |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Cc [flag. . . ] File. . . -lsocket -lnsl [Library. . . ]
Boss ah, this is not to tell you how to use the incorrect. I faint.
Cc -otest -otest.c -lsocket -lnsl |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Can be translated, but does not export procedures idle
Oh, I objected Brother, it was the eldest child novice :) |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair Engage in the top vegetable Thank illustrated Brother
If (write (sockets[1]), DATA1, sizeof (DATA1) "0)
If (write (sockets[0]), DATA2, sizeof (DATA2) "0)
To correct
If (write (sockets[1], DATA1, sizeof (DATA1)) "0)
If (write (sockets[0], DATA2, sizeof (DATA2)) "0) |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair I am going to faint. |
Socket programming to be done before any treatment is not defined ah Compiler suggested socketpair : Lol : |
| |