11-30-2011
10 More Discussions You Might Find Interesting
1. Programming
Hello All,
I have a problem using connect(...) function in C++. I am using SSH from my windows system to connect it to linux server. The program works fine if I run it directly in Linux machine but I need it to run through windows machine.
The function returns -1 and so my program terminates.
... (3 Replies)
Discussion started by: smdhd3
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime.
To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies
3. Programming
Hi all,
On the server side, one socket is used for listening, the others are used for communicating with the client.
My question is: if i want to set option for socket, which socket should be set on?
If either can be set, what's the different?
Again, what's the different if set option... (1 Reply)
Discussion started by: blademan100
1 Replies
4. Programming
Is there any relation between the connect() socket API and the TCP's Transmission Control Block.
Also how does connect detect that a socket is in use i.e., EADDRINUSE (1 Reply)
Discussion started by: sunaina
1 Replies
5. Programming
Why does this socket function only read the first 1440 chars of the stream. Why not the whole stream ? I checked it with gdm and valgrind and everything seems correct...
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include... (3 Replies)
Discussion started by: cyler
3 Replies
6. Programming
Dear Experts,
i am compiling my code in suse 4.1 which is compiling fine,
but at runtime it is showing me for socket programming error no 88
as i searched in errno.h it is telling me socket operation on non socket,
what is the meaning of this , how to deal with this error , please... (1 Reply)
Discussion started by: vin_pll
1 Replies
7. 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
8. Programming
will there be any unexpected results on looping connect call for a non blocking socket to determine the connection based on error code. I am getting connection unsuccessful intermittently and so wondering whether is the timeout 500 millisec not sufficient or looping connect cause any unexpected.
... (7 Replies)
Discussion started by: satish@123
7 Replies
9. Cybersecurity
It appears i cant connect linux VPS server via SSH or i cant SCP any file to it and i cant wget any file TO it (from inside it) while CSF (Config Server Firewall, LFD is running. Just after isntall in default configuration and after changing TESTING mode to LIVE mode.
Trying to wget & install... (1 Reply)
Discussion started by: postcd
1 Replies
10. UNIX for Beginners Questions & Answers
I'm trying a new distro called KaliBang. After the install I noticed this error is having problems letting multiple applications I have work:
(nm-applet:3674): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote... (2 Replies)
Discussion started by: Azrael
2 Replies
LEARN ABOUT MOJAVE
git-remote-fd
GIT-REMOTE-FD(1) Git Manual GIT-REMOTE-FD(1)
NAME
git-remote-fd - Reflect smart transport stream back to caller
SYNOPSIS
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
DESCRIPTION
This helper uses specified file descriptors to connect to a remote Git server. This is not meant for end users but for programs and scripts
calling git fetch, push or archive.
If only <infd> is given, it is assumed to be a bidirectional socket connected to remote Git server (git-upload-pack, git-receive-pack or
git-upload-archive). If both <infd> and <outfd> are given, they are assumed to be pipes connected to a remote Git server (<infd> being the
inbound pipe and <outfd> being the outbound pipe.
It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper
is started.
<anything> can be any string. It is ignored. It is meant for providing information to user in the URL in case that URL is displayed in some
context.
ENVIRONMENT VARIABLES
GIT_TRANSLOOP_DEBUG
If set, prints debugging information about various reads/writes.
EXAMPLES
git fetch fd::17 master
Fetch master, using file descriptor #17 to communicate with git-upload-pack.
git fetch fd::17/foo master
Same as above.
git push fd::7,8 master (as URL)
Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to same service.
git push fd::7,8/bar master
Same as above.
SEE ALSO
gitremote-helpers(1)
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-REMOTE-FD(1)