PetscErrorCode PetscViewerSocketSetConnection(PetscViewer v,const char machine[],int port)Logically Collective on PetscViewer
v | - viewer to connect | |
machine | - host to connect to, use NULL for the local machine,use "server" to passively wait for a connection from elsewhere | |
port | - the port on the machine one is connecting to, use PETSC_DEFAULT for default |