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 PHP
get_class_methods
GET_CLASS_METHODS(3) 1 GET_CLASS_METHODS(3)
get_class_methods - Gets the class methods' names
SYNOPSIS
array get_class_methods (mixed $class_name)
DESCRIPTION
Gets the class methods names.
PARAMETERS
o $class_name
- The class name or an object instance
RETURN VALUES
Returns an array of method names defined for the class specified by $class_name. In case of an error, it returns NULL.
EXAMPLES
Example #1
get_class_methods(3) example
<?php
class myclass {
// constructor
function myclass()
{
return(true);
}
// method 1
function myfunc1()
{
return(true);
}
// method 2
function myfunc2()
{
return(true);
}
}
$class_methods = get_class_methods('myclass');
// or
$class_methods = get_class_methods(new myclass());
foreach ($class_methods as $method_name) {
echo "$method_name
";
}
?>
The above example will output:
myclass
myfunc1
myfunc2
SEE ALSO
get_class(3), get_class_vars(3), get_object_vars(3).
PHP Documentation Group GET_CLASS_METHODS(3)