Can Someone enter in existing Socket Connection

Consider there is a socket connection between two applications.

Is it possible for any other application to send data on any of the two applications port where they are communicating ???

If no how they r secured ???

How can use Socket Connection Timeout?

Is it possilbe to set socket connection timeout? For e.g. If I want to connect to some host with socket connection within 5 seconds if I cant connect within 5 seconds,function return from this point without process further operation.I have checked socket class, apprently I cant find out some way for ...

Socket connection reset at client side.

I am using ASyncSocket(client side) to connect to server(written in java).some of these clients getting frequently connection reset (cause called OnClose() and close socket and trying reconnection).After reconnection(reconnected) it works fine for 1 to 2 mins. and then connection reset.What is the e ...

mutli-thread socket connection

Just wondering if it is possible to create multi-thread socket (HTTP) connections using JAVA or C or any other language. Suppose i need to retrieve multiple stock prices for the symbols ABC, CSCO, JDS...etc. I can do this by making an HTTP socket connection to NASDAQ's or TSE's website (doesn't matt ...

MySQL How to communicate with a socket connection

I'm programming with VB6 :D and I want to connect via WinSock to MySQL. The connection is ok but how can I or how must I communicate with MySQL to get the content of some tables. thx for helping ...

Send a value to a server ( socket connection )

I`m new on Visual C++ can u please help me ? I want to attach a dll on a game . The dll need to make this: When i open the .exe file ( the game ) the dll will send a packet ( ex : ip adress of the PC ) to a server .The server is writen on Java, the java part i can make it , to receive the packet . I ...

Simultaneous Socket Connection Times?

Suppose I have have a client application running on one computer somewhere on the net, and another running a server application elsewhere on the net (for my purposes, let's say the two computers are as far apart from each other as it's possible to get).In a language like C, I would use the accept() ...

creating telnet socket connection

i have a small problem.i want to create a telnet session to any other server and i want the socket client code that initiate connection with the server then i enter the password of server and last thing close the connection.could anyone please help me to get that socket codeand i need it with Borlan ...

gpfs socket connection issue

I found very strange behavior during gpfs network failure test.Test Env>GPFS 3.4.0.2 Mixed AIX/Window cluster2-nodes AIX NSD Servers16-nodes Window ClientsNetwork Config on all AIX/Window nodes192.168.11.X(en2) - for gpfs interconnect123.111.8.X(en5) - for adminstrator purposeTest Scenario>1) ...

Socket connection / read only properites

procedure TFrmMain.Connect1Click(Sender: TObject); var i :integer ; ipme:string; portme:string; begin i:=frmmain.sinlst.Selected.Index; ipme:= frmmain.sinlst.Selected.Caption ; portme:= frmmain.sinlst.Selected.SubItems.Strings[i]; { showmessage (frmmain.sinlst.Selected.Caption); showmessage (frmmain ...

socket connection

Posted - 12/02/2002 : 07:47:22 --------------------------------------------------------------------------------I am trying to set up aPaypal IPN system but having difficulties, I think the problem is opening a socket to paypal. When I upload the following code and go to the URL I get the message 'Un ...

Maintaining a socket connection in php...

I am working on a msn messenger system for use on a website. It is being written in html, javascript, and php and I am planning on keeping it limited to just that.This is not a question specific to msn messenger, but I though I would give the background info anyway...I need to maintain a connection ...

Socket Connection problem in Windows XP System from VC++

I am using the following function to find out whether I can connect to a particular IP address(for ex:3.205.202.6 etc...) in VC++.This function returns TRUE on Windows 2000 if the given IP address is communicating one. But on Windows XP system it always returns FALSE (However I can still say ping to ...

persistant socket connection problem

i m using WML - PHP coding for my client- server program.In my code, there are five files:1.index.wml2.first.php3.second.php4.third.php5.fourth.phpIn index.wml, i m calling first.php and opening a socket, writing some data in that socket, and reading some data from that socket then sending the resul ...

How to send files through a socket connection?

I just wanna know how to send a file through a socket connection in C language "client request a certaion file on server and server send him this file" i work on both winsockets and bsd sockets "client ==> windows, server ==> *nix" ...

Oracle Problem with socket connection

I have a problem using sockets in Oracle 8.1.5 (Linux version). When I create a socket and try to connect to the server I get the InterruptedIOException.This is the code that fails:try{Socket s = new Socket( "www.someserver.com", 80 );}catch ( InterruptedIOException e ){}The exception is raised when ...

Socket Connection with Remote Sever

This is a simple question.Will setting the chmod for a file on my server to 777, allow other servers to write the file too? I need to write a file on my server, and use it in a script, however I wont do this if other people can write the file too.I would be most ...

[BEA] [SQL Server JDBC Driver] Error Establising socket connection refused

hihelp me out.i get error msg when i try to "Test Driver Connection" from WebLogic 8.1 with SQL Server 2000. do i set any privileges from SQL Server for WebLogic 8.1 server to eastablish connection. ...

socket connection

am currently workin on RFID Technology and am stuck with the socket connectivity...there is a client which is an EXE file called RFID.exe now we need to create a server program to connect the client n read the msgs sent by the client application. in the server program v need to store the msgs using ...

MySQL how to disable socket connection ?

I host a MySQL server on my laptop, which i often use. But I also need to access another MySQL server on a remote machine with closed ports. To bypass this i forward port 3306 to localhost:3305. However, when i call localhost from query-browser, it connects to the local server through the socket. Ho ...

Socket connection

I would like to close an internet explorer socket from my MFC program.How can I do that, could you give me a way ? ...

Help About Socket Connection

use Net:MPP;use Data:umper;$smpp = Net:MPP->new_receiver($host1,smpp_version => $smpp_version1,interface_version => $interface_version1,system_id => $sysid1,password => $password1,addr_ton => $addr_ton1,addr_npi => $addr_npi1,source_addr_ton => $source_addr_ton1,source_addr_n ...

Repetition in data through socket connection

hello. I have implemeted a simple client-server model using sockets.Here client sends an XML file to the server to be written at the server end..The client code is as follows...// client.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <fcntl.h> ...

socket connection

I am developing a simple socket application which fetch a given URL from the web and save it in the local hard drive. But my internet connection goes through a proxy and I would like to know that what is the connecting URL and the port for my socket. It is ip /port of the proxy or is it ip/port of t ...

Servlet or EJB for persistent socket connection

We need to establish a socket connection to another Server application running external to send and receive messages. I've been told that we should use Servlet but the problem I see is that it's not persistent. Every new message instantiate the Servlet and the connection is re-eatablished each time. ...

C/C++ TCP/IP Socket connection with Server

I wrote down an application that, in an industrial environment, detect and store on a MYSQL server production info from several station. Both the server and the station are PC running Windows XP. The application is running fine whith a strange behaviour on the first query (don't care if read/write q ...

Problem with socket connection

I have a client /server file operation program.It works properly when i run the client and server program in the same system.but when i try to run the client in one system and server in another system i am getting an error in the cleint machine as "ERROR:Connection refused". Plz help me in ...

HELP creating telnet socket connection

i have a small problem.i want to create a telnet session to any other server and i want the socket client code that initiate connection with the server then i enter the password of server and last thing close the connection.could anyone please help me to get that socket codeand i need it with Borlan ...

Killing socket connection

Guys,Is there any command in Linux to kill a socket connection WITHOUT killing its parent application? For example, I have streaming server with several connected users and I want to close socket connection to one of them? ...

IPTables - Forward Packets from Existing Nat Connection

Hello... I am reposting this from linuxquestions.org in a hope to get more exposure...I two physical servers set up: 192.168.1.150 and 192.168.1.160All external traffic comes in to server .150 Initially, I want all traffic to be served by server 150. So for this purpose I am leaving the IPTables on ...