If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

socket communication

hi friends, I hava a problem and hope someone can help me... I use VB Socket
server and Java Socket client to communicate with each other.i used winsock
control in vb server.when i'm sending data from vb server to client in java,the
client getting data only after closing the vb server. Is there any settings
needed to be configured before sending or receiving data ?
and my java code is
import java.net.*;
import java.io.*;
public class Testclient
{
public static void main (String args[])
{
if (args.length !=2)
System.out.println(" client host port"); else
{
String inp;
try
{
Socket sock = new Socket(args[0], Integer.valueOf(args[1]).intValue());
//BufferedReader is = new BufferedReader( new InputStreamReader (sock.getInputStream()));