Transfer of Data between ports?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shridhar_N
Posted On:   Monday, December 9, 2002 04:32 AM

Hi All,

Is there any utility or class in java which would transfer the data from one port to another.

I have an application which will connect to a port (1) on a server, from this port the data has to be transfered to another port (2) , where i have another application running.

I want a utility or tool which would transfer the data between these 2 ports ( between 1 and 2).

Thankx in Advance..
Shridhar..

Re: Transfer of Data between ports?

Posted By:   Gautam_Marwaha  
Posted On:   Monday, December 9, 2002 04:46 AM

open socket1 on port1

open socket2 on port2

while socket1 has data

{

read from socket1 - write to socket2

}

close sockets
About | Sitemap | Contact