determine succesful connection socket
Hi how can i determine if a user has succesfuly connected to a socket connection?
i have the following code below that opens a socket and creates input/putput streams. thanks in advance
publicvoid open()
{
try
{
server = (SocketConnection) Connector.open(url);
is = server.openInputStream();
os = server.openOutputStream();
}
catch(Exception e)
{
e.printStackTrace();
}
}

