Sponsored Content
Top Forums UNIX for Advanced & Expert Users Server Programming to keep on looking for client connection Post 302336002 by matrixmadhan on Tuesday 21st of July 2009 03:26:19 AM
Old 07-21-2009
Quote:
Originally Posted by Corona688
Could you rephrase that? I don't think the question translated.
I think the OP meant, even after modifying the code with the suggestion posted, its still not accepting the connection as expected.

Could you please post the modified segment of your code?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

socket programming : client server IPC

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

2. Programming

Socket Programming - Port Scanner. I Get Connection Timed Out, Why?

When i put the target IP as 127.0.1.1, the program is working fine, can catch blocked & open ports. But when i try to scan remotely, i get connection timed out! Can you tell me why? :( Here is my code - Look at between where i put astriks - at the bottom: #include<iostream>... (3 Replies)
Discussion started by: f.ben.isaac
3 Replies

3. Programming

Client/Server Socket Application - Preventing Client from quitting on server crash

Problem - Linux Client/Server Socket Application: Preventing Client from quitting on server crash Hi, I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64. I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies

4. Windows & DOS: Issues & Discussions

Office server => laptop =>client server ...a lengthy and laborious ftp procedure

Hi All, I need your expertise in finding a way to solve my problem.Please excuse if this is not the right forum to ask this question and guide me to the correct forum,if possible. I am a DBA and on a daily basis i have to ftp huge dump files from my company server to my laptop and then... (3 Replies)
Discussion started by: kunwar
3 Replies

5. Programming

socket programming using UDP connection

I want to send packets through single socket() but using two different port numbers in UDP. Anybody give some idea on this. Thanks in advance.:) (2 Replies)
Discussion started by: naresh046
2 Replies

6. IP Networking

Cisco VPN server and client - connection drop

I have a Cisco 1841 router configured as Easy VPN Server. Here is the configuration of the router: Cisco# Cisco#show running-config Building configuration... Current configura - Pastebin.com I have a Centos 5.7 server with installed Cisco VPN client for Linux. The client successfully... (0 Replies)
Discussion started by: rcbandit
0 Replies

7. Programming

Client Server 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. UNIX and Linux Applications

VMware View Client Connection Issues

I installed the VMware View Client for Linux in Ubuntu and whenever I try and connect I recieve: Untrusted View Connection: Failed to connect to the View Connection Server. The server provided an invalid certificate. The certificate authority is invalid or incorrect. Having access to... (2 Replies)
Discussion started by: metallica1973
2 Replies

9. IP Networking

Connection to DB from client server through jdbc:Oracle:Oci8 fail

We tried to use to connect to DB using jdbc:Oracle:Oci8:@<SERVICE-A>. Connection fail / refuse with one DB .But its working with other databases. But through toad, jdbc thin client were able to connect. But this has happen suddenly and were able to connect previously. How to navigate this... (0 Replies)
Discussion started by: udara
0 Replies

10. Programming

MOTIF programming and X11 client !

Hi there , i am interesting in MOTIF programming. One question : Is it right that in Motif GUI programming the actions are automaticly transformed and networked to other clients over the internet without network programming necessary ? Are the commands automatic transformed by the X11... (4 Replies)
Discussion started by: Zabo
4 Replies
EvmEventPost(3) 					     Library Functions Manual						   EvmEventPost(3)

NAME
EvmEventPost(), EvmEventPostVa() - post an EVM event SYNOPSIS
Library EVM Support Library Parameters connection The connection through which events are posted. See EvmConnCreate(3). event The event that is to be posted to the specified connection. See EvmEventCreate(3). item_id The identifier for the event data item to be set. See EvmItemSet(3) for possible values for this operand, and the data con- tained by the data item. item_value The value to be stored in the associated item indicated by item_id. DESCRIPTION
An EVM client program uses the routines described on this page to pass events to the EVM daemon, for distribution to subscribers. posts an event that has already been created with or creates, posts and destroys an event in a single call. It first creates a new event, adding any data items supplied in the call to it. If the event operand is not NULL, the contents of the supplied event are then merged into the new event, and the new event is posted. The new event is destroyed before the routine returns, and the supplied event (if any) is unchanged. See EvmItemSetVa(3) for details of the item_ids and item_values that may be passed as operands to this routine. If NULL is passed as the connection operand to either of these routines, the event is posted to the local daemon using a temporary connec- tion. The temporary connection is destroyed before the routine returns. Because of the overhead associated with creating and destroying an EVM connection, pass NULL only if your program rarely posts events. If either routine is unable to pass the event to the daemon, the error is reported immediately through the return code. If the event is passed to the daemon, the type of response depends on the response mode specified when the connection was created. Notes 1. These routines do not destroy the event passed as the event operand. Explicitly call to destroy the event and free its memory once it is no longer needed. 2. Avoid posting a large number of events in rapid succession, since this may cause the connection's send buffer to fill, and the posting process to block until the EVM daemon has relieved some or all of the data. Although this is a normal part of process synchronization, some high-performance processes may prefer to block as infrequently as possible. can be used to increase the size of the send buffer. See EvmConnControl(3) for more information. 3. When using extended item_ids to supply names and values of variable items to be sure to supply the correct number of operands for each. A variable name and value is required for all such items, and some variable types require an additional argument. See EvmItemSetVa(3) for more information. RETURN VALUE
The operation completed without error. The EVM daemon rejected the event. The most likely reasons are that no template has been registered for the event, or that the caller is not authorized to post the event. See evmtemplate(4) and evm.auth(4) for more information. One of the arguments to the function is invalid. A value in a structure member is invalid. An operation failed because an attempt to acquire heap memory failed. The connection's output buffer is full, and the event has been queued in heap space. Another attempt is made to flush the queue when the next call is made to or when the caller invokes This error code is only returned for connections for which has been invoked with the request argument set to A read error occurred while reading from the EVM daemon connection. The connection is no longer usable. The caller needs to invoke to destroy it. A write error occurred while writing to the EVM daemon connection. The connection is no longer usable. The caller needs to invoke to destroy it. ERRORS
The value of is not set. SEE ALSO
Routines EvmConnControl(3), EvmConnCreate(3), EvmConnDestroy(3), EvmConnRegistrationGet(3), EvmEventCreate(3), EvmEventDestroy(3), EvmItemSetVa(3). Event Management EVM(5). Event Connection EvmConnection(5). EVM Events EvmEvent(5). EvmEventPost(3)
All times are GMT -4. The time now is 04:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy