Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Connecting to SUN server from PC Post 302132249 by zam on Thursday 16th of August 2007 04:06:01 AM
Old 08-16-2007
there is noting in /etc/path_to_inst Smilie
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Connecting to UNIX server

Hi, My knowledge bucket of UNIX is almost empty. I have developed an application in EXCEL which can create XML files (Metadata) from Binaries. These binaries are stored in UNIX server on regular intervals. Currently I am transferring all binaries(GBs of files) to WINDOWS using WINSCP and... (2 Replies)
Discussion started by: bobs
2 Replies

2. Solaris

Problem with connecting with Sun Java Web console

Hi, I have Solaris 10 8/07 on SPARC and I can't log in Web console. When I opened browser (Firefox 3) at localhost:6789 I get Save file dialog which asks me to save some file with .part at the end. What information should I provide to find out where is the trouble?.. Internet explorer says... (3 Replies)
Discussion started by: Sapfeer
3 Replies

3. Shell Programming and Scripting

Connecting to other server thru ftp

Hi, Can someone help me on how to ftp to UNIX server from an another UNIX Server. I tried the follwoing but it is not working. ftp -n 10.10.0.1 quote user usrname quote pass passwd ls Though ftp is starting it is not allowing me run command..... it is asking to Thanks in... (5 Replies)
Discussion started by: EmbedUX
5 Replies

4. Shell Programming and Scripting

Connecting to Windows Server

Hi, One of the folders in UNIX is mapped with a drive on Windows.From this UNIX machine I want to connect to the Windows Server, perform some checks and view the results back on the UNIX machine. For e.g. if I touch a file under the shared folder on UNIX, I should be able to telnet to Windows... (2 Replies)
Discussion started by: swasid
2 Replies

5. Hardware

SUN V245 Connecting To router Through Alom

Hello. I have a sun v245 and I have no hard drive for it yet but i would like to connect it to my home router by ethernet cable so I can use Alom remotely. Could someone please tell me how to set it up. Thank You (1 Reply)
Discussion started by: SunV245
1 Replies
Connecting to BrlAPI(3) 					      BrlAPI						   Connecting to BrlAPI(3)

NAME
Connecting to BrlAPI - Data Structures struct brlapi_connectionSettings_t Settings structure for BrlAPI connection. Macros #define BRLAPI_SOCKETPORTNUM 4101 #define BRLAPI_SOCKETPORT '4101' #define BRLAPI_SOCKETPATH '/var/lib/BrlAPI' #define BRLAPI_ETCDIR '/etc' #define BRLAPI_AUTHKEYFILE 'brlapi.key' #define BRLAPI_DEFAUTH BRLAPI_ETCDIR '/' BRLAPI_AUTHKEYFILE #define BRLAPI_SETTINGS_INITIALIZER { NULL, NULL } Typedefs typedef int brlapi_fileDescriptor Functions brlapi_fileDescriptor BRLAPI_STDCALL brlapi_openConnection (const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings)" brlapi_fileDescriptor BRLAPI_STDCALL brlapi__openConnection (brlapi_handle_t *handle, const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings)" void BRLAPI_STDCALL brlapi_closeConnection (void) void BRLAPI_STDCALL brlapi__closeConnection (brlapi_handle_t *handle) Detailed Description Before calling any other function of the library, calling brlapi_openConnection() is needed to establish a connection to BrlAPI 's server. When the connection is not needed any more, brlapi_closeConnection() must be called to close the connection. Macro Definition Documentation #define BRLAPI_AUTHKEYFILE 'brlapi.key' Default name of the file containing BrlAPI 's authorization key This name is relative to BRLAPI_ETCDIR #define BRLAPI_DEFAUTH BRLAPI_ETCDIR '/' BRLAPI_AUTHKEYFILE Default authorization setting #define BRLAPI_ETCDIR '/etc' brltty 's settings directory This is where authorization key and driver-dependent key names are found for instance. #define BRLAPI_SETTINGS_INITIALIZER { NULL, NULL } Allows to initialize a structure of type brlapi_connectionSettings_t * with default values. #define BRLAPI_SOCKETPATH '/var/lib/BrlAPI' Default unix path on which connections to BrlAPI can be established #define BRLAPI_SOCKETPORT '4101' #define BRLAPI_SOCKETPORTNUM 4101 Default port number on which connections to BrlAPI can be established Typedef Documentation typedef int brlapi_fileDescriptor Function Documentation void BRLAPI_STDCALL brlapi__closeConnection (brlapi_handle_t *handle) brlapi_fileDescriptor BRLAPI_STDCALL brlapi__openConnection (brlapi_handle_t *handle, const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings) void BRLAPI_STDCALL brlapi_closeConnection (void) Cleanly close the socket This function locks until a closing acknowledgement is received from the server. The socket is then freed, so the file descriptor brlapi_openConnection() gave has no meaning any more brlapi_fileDescriptor BRLAPI_STDCALL brlapi_openConnection (const brlapi_connectionSettings_t *desiredSettings, brlapi_connectionSettings_t *actualSettings) Open a socket and connect it to BrlAPI 's server This function first loads an authorization key as specified in settings. It then creates a TCP socket and connects it to the specified machine, on the specified port. It writes the authorization key on the socket and waits for acknowledgement. Returns: the file descriptor, or -1 on error Note: The file descriptor is returned in case the client wants to communicate with the server without using libbrlapi functions. If it uses them however, it won't have to pass the file descriptor later, since the library keeps a copy of it. But that also means that brlapi_openConnection() may be called several times, but libbrlapi functions will always work with the last call's descriptor Example: if (brlapi_openConnection(&settings,&settings)<0) { fprintf(stderr,'couldn't connect to BrlAPI at %s: %s0, settings.host, brlapi_strerror(&brlapi_error)); exit(1); } Errors: BrlAPI might not be on this TCP port, the host name might not be resolvable, the authorization may fail,... Parameters: desiredSettings this gives the desired connection parameters, as described in brlapi_connectionSettings_t. If NULL, defaults values are used, so that it is generally a good idea to give NULL as default, and only fill a brlapi_connectionSettings_t structure when the user gave parameters to the program for instance; actualSettings if not NULL, parameters which were actually used are stored here, if the application ever needs them. See Also: brlapi_connectionSettings_t brlapi_writePacket() brlapi_readPacketHeader() brlapi_readPacketContent() brlapi_readPacket() Author Generated automatically by Doxygen for BrlAPI from the source code. Version 1.0 Fri Jun 7 2013 Connecting to BrlAPI(3)
All times are GMT -4. The time now is 04:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy