05-24-2017
I'm not entirely sure what you mean by that, but I don't think so. The socket connects application to video driver, not application to application. There's a little bit of IPC, like copy-paste between applications running inside the same X instance, but nothing that crosses server boundaries.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a good book or something on practical programming in X11? I have the O'Reilly X window system book set. They don't seem to cover the nuances very well (at least for me). So far the only thing I find on the web is the text from these books.
Specifically, I'm looking for optimization... (2 Replies)
Discussion started by: willil
2 Replies
2. UNIX for Dummies Questions & Answers
I'm new to socket programming. Have a basic doubt.
I have a structure(global) at the server side.
I have two different client connecting to the server. Will the changes made by one client on the structure be visible to the other client when it accesses the same client? I'm creating a STREAM... (3 Replies)
Discussion started by: abc.working
3 Replies
3. UNIX for Advanced & Expert Users
Hi I wrote a server Program in C,
Here it is, this is a just socket creation alone,
bool myclass::CreateSocket()
{
struct sockaddr_in sockaddr_in;
sockaddr_in.sin_family = AF_INET;
sockaddr_in.sin_port = 1100;
sockaddr_in.sin_addr.s_addr = INADDR_ANY;
... (4 Replies)
Discussion started by: vij_krr
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,I'm new here and to Unix also. I'm totall newbie.
Here is what I have to do:
-Basics of programming user interface with Xlib library
-Xlib
-Client/Server model of X-Windows system
-Example of "Hello world" with button which changes text ,so that when u click displays another... (4 Replies)
Discussion started by: megane16v
4 Replies
5. Solaris
An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine.
Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies
6. UNIX for Advanced & Expert Users
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies
7. Programming
Hi
Could someone give me some advise, basically i am learning UDP client server programming. I understand how to do send and receive between client server
( learn from this site Sending and Receiving Packets)
but things such as MSN can actually send and receive at the same time! I believe it... (1 Reply)
Discussion started by: GQiang
1 Replies
8. Programming
How to use X11 without Xlib not XCB? How draw window directly on low level?
I must use anyway window manager like Motif?
I have ridden that X11 has server-client architecture, client send via TCP/IP to port 6000 request for primitives and get replies.
Where is detailed description of it? In X11... (0 Replies)
Discussion started by: AndrzejB
0 Replies
9. UNIX for Beginners Questions & Answers
MOTIF GUI PROGRAMMING !
Hi there. I am a MOTIF GUI Programmer in C language.
After a longer break i have problems with the GCC compiling.
my MOTIF file is named winstack.c
I have the follow code gcc -o newprogram winstack.c -lXm -lXt -lX11
The compilation runs good.
But no executable LINUX... (10 Replies)
Discussion started by: Sennenmut
10 Replies
LEARN ABOUT HPUX
dtprintresetconnection
DtPrintResetConnection(library call) DtPrintResetConnection(library call)
NAME
DtPrintResetConnection -- resets the print display connection managed by a DtPrintSetupBox
SYNOPSIS
#include <Print.h>
XtEnum DtPrintResetConnection(
Widget wid,
DtPrintResetConnectionMode mode);
DESCRIPTION
The DtPrintResetConnection function is a convenience function provided by the DtPrintSetupBox widget that allows applications to direct the
widget to stop managing the X print server connection. A mode parameter is included in order to direct the widget to close the print con-
nection by calling XpDestroyPrintContext and XCloseDisplay or to simply relinquish control of the connection without closing it.
DtPrintResetConnection is intended to be used by applications that fork a child process to perform the print rendering operation. Immedi-
ately after the fork is performed, the parent process will close its X print server connection, and retain its connection to the video X
server. The forked child on the other hand will close its video X server connection and perform the rendering operation on the X print
server connection.
ARGUMENTS
wid The DtPrintSetupBox widget ID.
mode Indicates whether DtPrintResetConnection should close the X print server connection, or simply cause the DtPrintSetupBox to cease
managing the connection.
Valid values are:
DtPRINT_CLOSE_CONNECTION
Set by the parent process when the application forks a child to perform the print rendering. This will cause the
DtNclosePrintDisplayCallback list set for the passed DtPrintSetupBox to be called.
DtPRINT_RELEASE_CONNECTION
Set when the application wishes to destroy the DtPrintSetupBox widget instance and still perform print rendering using
the X print server connection initiated by the widget. For example, the child process of an application that forks to
perform print rendering will close the video display connection (thereby destroying the DtPrintSetupBox widget) prior
to print rendering. No DtPrintSetupBox callbacks will be called as a result of this operation.
RETURN VALUE
DtPRINT_SUCCESS
DtPrintResetConnection was successful.
DtPRINT_NO_CONNECTION
An open X print server connection is not currently being managed by the DtPrintSetupBox.
DtPRINT_BAD_PARM
The value passed for wid is NULL, or an invalid mode was passed.
ENVIRONMENT VARIABLES
None.
RESOURCES
None.
ACTIONS
/MESSAGES
None.
ERRORS
/WARNINGS
None.
EXAMPLES
None.
FILES
None.
SEE ALSO
DtPrintSetupBox(3)
DtPrintResetConnection(library call)