8 More Discussions You Might Find Interesting
1. Solaris
Hi forums,
I was wondering if any of you have faced this problem that I have been having for quite some time now regarding serial connection with putty to my Solaris Box Sunfire v250 and Sun v220 and sun v440.
The serial connection freezes on my Windows 7 64 and 32 Bit machines.
I unplug and... (3 Replies)
Discussion started by: br1an
3 Replies
2. Ubuntu
Hello!
I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
If someone please help as my efforts been exhausted in connecting my sun blade 100 serial to my pc. I am using null modem with DB9(female) in sun blade and DB9(female, using gender change) in pc.
I am trying both hyper/putty 9600 8 N 1 configurations.
Thanks (2 Replies)
Discussion started by: younics
2 Replies
4. AIX
I configured the serial modem in my P6-550 AIX 5.3 box
But i dont have telephone line.
when I run the command
# cu -l /dev/tty1
the output is as follows
does it mean that my modem is responding to the command?
can i say my serial port is working and communicating fine?
Connected
... (3 Replies)
Discussion started by: pchangba
3 Replies
5. Solaris
Hi Community,
I'm working on Sun Server V490 with my PC (with OS Vista). I'm using a USB to Serial Adapter to connect to Server directly.
I've this problem, I'm connecting to Server with Putty client with this settings:
boud rate 9600, 8 bit, 0 parity, 0 flow control, but after to have typed... (4 Replies)
Discussion started by: Sunb3
4 Replies
6. IP Networking
I have serial modem connection between two computers. We have to login the remote computer through ip address. How can I get the ip address in this connection? (1 Reply)
Discussion started by: pcsaji
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I need to connect from an hp-ux box to a device that only have a serial port.
When I need to do that from solaris to that device I used put a null modem and type tip hardwire, but I'm new with hp-ux and I don't have the tip command.
Any idea?
Thanks. (2 Replies)
Discussion started by: piltrafa
2 Replies
8. UNIX for Advanced & Expert Users
I have two UX servers ( eg. Server A , Server B ) , the users use Netterm as emulator to telnet to connect to these servers , each server have assigned a dedicated IP address ( eg. Server A --> 192.168.1.1 , Server B --> 192.168.1.2 ) , now if a user want to connect Server A , he need to telnet to... (1 Reply)
Discussion started by: ust
1 Replies
Ns_ConnReturn(3aolserver) AOLserver Library Procedures Ns_ConnReturn(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_ConnRedirect - Internally redirect a request to a new local url
SYNOPSIS
#include "ns.h"
int
Ns_ConnRedirect(conn, url)
ARGUMENTS
Ns_Conn conn (in) Pointer to open connection.
char *url (in) Pointer to string of local url.
_________________________________________________________________
DESCRIPTION
This routine can be used to internally redirect to a new, local url on the server. The url paramter specifies a path relative to the
server, i.e., without the leading "http://host:port" portion. The server will reset the Ns_Request structure in the open connection
pointed to by conn and restart connection handling, including authorization checks. The result is a standard AOLserver request procedure
result code, either from an underlying call to Ns_ConnRunRequest or the result of one of the authorization response routines such as
Ns_ConnReturnForbidden. Filter callbacks, if any, are not run again with the updated connection.
The Ns_ConnRedirect routine is used internally in the server to support the basic file serving code (i.e., "fastpath") to redirect to spe-
cific files when a directory is opened and by the Ns_RegisterRedirect routine to map standard reponse routines to user-provided local
url's.
EXAMPLE
The following example demonstrates redirecting to an ADP help page within a custom C-level request callback whenever a ?help=topic query
argument is present:
int
MyRequest(void *arg, Ns_Conn *conn)
{
Ns_Set *query = Ns_ConnGetQuery(conn);
/* Redirect to help.adp for /myrequest?help=topic calls. */
if (Ns_SetGet(query, "help")) != NULL) {
return Ns_ConnReturnRedirect(conn, "/help.adp");
}
... handle non-help requests ...
}
SEE ALSO
Ns_RegisterRedirct(3), Ns_ConnRunRequest(3), Ns_AuthorizeRequest(3)
KEYWORDS
connection, redirect
AOLserver 4.0 Ns_ConnReturn(3aolserver)