| Reply | « Previous Thread | Next Thread » |
|
If the url omits host according to the socketconnection documentation, as shown below. 'ClassCastException' is thrown. So, I presume that it seems system tries to cast socketconnection to serversocketconnection but it fails.
SocketConnection sc = (SocketConnection)Connector.open("socket://:8100"); Thank you! K,
Last edited by SYTDeath : 2009-03-16 at 00:29.
|
|
You are trying to force a ServerSocketConnection (produced by the url schema) to be a SocketConnection.
:Ruben |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Socket blocking problem | durgeshtrivedi | Mobile Java Networking & Messaging & Security | 3 | 2008-06-16 08:51 |
| Problem with TCP Socket connection | SeppOS | Mobile Java Networking & Messaging & Security | 2 | 2008-01-01 13:50 |
| Problem in establishing socket connection | elise_ee | Mobile Java General | 4 | 2005-08-30 14:57 |
| Socket problem | defragger | Python | 0 | 2005-08-25 09:16 |
| Problem with socket connection | prakashsainani | Symbian Networking & Messaging | 1 | 2003-09-10 16:33 |