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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
shevek_server_connection
shevek::server< client, serverdata >::connection(3) Library Functions Manual shevek::server< client, serverdata >::connection(3)
NAME
shevek::server< client, serverdata >::connection -
Base of the client class which is implemented by the calling program.
SYNOPSIS
#include <server.hh>
Inherits shevek::refbase.
Public Member Functions
void continue_reading ()
This is called after in->unread (), to resume accepting data from this connection.
~connection ()
Destructor.
Public Attributes
Glib::RefPtr< shevek::fd > in
The input socket. The client can stop reading from this connection by calling in->unread ().
Glib::RefPtr< shevek::fd > out
The output socket. This is used to send data to the connection.
Protected Member Functions
connection ()
The client class can construct this object with its create function.
Glib::RefPtr< server< client,
serverdata > > get_server ()"
Access to the server object which hosts this client.
void disconnect ()
This can be called by the client object to close this connection.
Friends
class server< client, serverdata >
Detailed Description
template<typename client, typename serverdata>struct shevek::server< client, serverdata >::connection
Base of the client class which is implemented by the calling program.
A client object is created for every connection which is accepted. This class handles server administration and provides access to members
from the client class.
Author
Generated automatically by Doxygen for libshevek from the source code.
libshevek Fri May 11 2012 shevek::server< client, serverdata >::connection(3)