10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies
2. Linux
How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies
3. AIX
Hi All,
Is there any way to increase the timeout of connect() function.
Kindly provide me some information on configuring the TCP/IP timeout period, used during the AIX 'connect()' function call.
Thanks
SP (1 Reply)
Discussion started by: saraperu
1 Replies
4. Shell Programming and Scripting
Hi,
I am new to PERL.I want to sort all the lines in a file based on 1,2 and 4th filelds.
Can U suggest me a command/function in perl for this operation.. (5 Replies)
Discussion started by: karthikd214
5 Replies
5. 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
6. UNIX and Linux Applications
hie. i would want to disable the function key F3 from Unix Sco. I could not do this from my apllication due to its limitatation. i included the following line in the .profile file
stty susp .
Unfortunately this is disabling all the function keys.
Is there a way in which i can disable... (1 Reply)
Discussion started by: kud
1 Replies
7. UNIX for Dummies Questions & Answers
My ncurses program has been displaying "OP" (junk) on pressing F1 (instead of catching it). I have finally discovered that it runs fine (traps F1) when run under screen (program), but not in my login terminal (xterm-color)
I did a check of "Set" and "env" under screen, there is a "TERMCAP"... (0 Replies)
Discussion started by: sentinel
0 Replies
8. UNIX for Advanced & Expert Users
in my system , the ctrl-C is not work ( ctrl-C should be used to break the running process ) , but ctrl-Z works , I don't know why ctrl-C is not work , I still can't find the reason . Now I would like to replace its function --> if the user press ctrl-Z then it will send the same command as ctrl-C... (1 Reply)
Discussion started by: ust
1 Replies
9. SuSE
I am using informix RDBMS over SUSE LINUX. In linux if you press control-c it acts as an interrupt key. In my program I have used control-c to perform certain functions but it is being overriden by interrupt function of control-c key combination of SUSE LINUX. Kindly suggest me a solution by which... (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies
10. Programming
Hi all,
I've got the problem which I can't resolve with my knowledge :)
For xterm terminal we have resource class XTerm*backarrowKey. If we set it to true, backspace code (ASCII 0x8) will be sent to program. We can get it using e.g. getc() function. If it is disabled getc() returns DEL(0x7F). ... (0 Replies)
Discussion started by: dmitryb
0 Replies
explain_connect_or_die(3) Library Functions Manual explain_connect_or_die(3)
NAME
explain_connect_or_die - initiate a connection on a socket and report errors
SYNOPSIS
#include <libexplain/connect.h>
void explain_connect_or_die(int fildes, const struct sockaddr *serv_addr, int serv_addr_size);
DESCRIPTION
The explain_connect_or_die function is used to call the connect(2) system call. On failure an explanation will be printed to stderr,
obtained from explain_connect(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_connect_or_die(fildes, serv_addr, serv_addr_size);
fildes The fildes, exactly as to be passed to the connect(2) system call.
serv_addr
The serv_addr, exactly as to be passed to the connect(2) system call.
serv_addr_size
The serv_addr_size, exactly as to be passed to the connect(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO
connect(2)
initiate a connection on a socket
explain_connect(3)
explain connect(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_connect_or_die(3)