• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SymbianOS error = -34

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am working on a MIDlet that will talk to a J2SE program on a computer working as a Server. The problem is that when i use the Sonyericssion Toolkit it can work But when i use in on the Nokia Series 60 Toolkit i have this error ....

--------------------- error --------------------------------
Error connecting to server = java.io.IOException: SymbianOS error = -34 : System:
System error.
--------------------- error --------------------------------

this is what i got from the Toolkit....

And for the connection i used the .......

StreamConnection connection = (StreamConnection) Connector.open("socket://" + "localhost" + ":" + "4445");

that is the code i use for connection i would like to ask for advice and suggestion that i can slove this problem thanks in advance

regards
KKH
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

I got the error already so just here to share with all of you incase anyone needed it so here is the list....

KErrNone 0
KErrNotFound -1 Unable to find the specified object
KErrGeneral -2 General (unspecified) error
KErrCancel -3 The operation was cancelled
KErrNoMemory -4 Not enough memory
KErrNotSupported -5 The operation requested is not supported
KErrArgument -6 Bad request
KErrTotalLossOfPrecision -7 Total loss of precision
KErrBadHandle -8 Bad object
KErrOverflow -9 Overflow
KErrUnderflow -10 Underflow
KErrAlreadyExists -11 Already exists
KErrPathNotFound -12 Unable to find the specified folder
KErrDied -13 Closed
KErrInUse -14 The specified object is currently in use by another program
KErrServerTerminated -15 Server has closed
KErrServerBusy -16 Server busy
KErrCompletion -17 Completion error
KErrNotReady -18 Not ready
KErrUnknown -19 Unknown error
KErrCorrupt -20 Corrupt
KErrAccessDenied -21 Access denied
KErrLocked -22 Locked
KErrWrite -23 Failed to write
KErrDisMounted -24 Wrong disk present
KErrEof -25 Unexpected end of file
KErrDiskFull -26 Disk full
KErrBadDriver -27 Bad device driver
KErrBadName -28 Bad name
KErrCommsLineFail -29 Comms line failed
KErrCommsFrame -30 Comms frame error
KErrCommsOverrun -31 Comms overrun error
KErrCommsParity -32 Comms parity error
KErrTimedOut -33 Timed out
KErrCouldNotConnect -34 Failed to connect
KErrCouldNotDisconnect -35 Failed to disconnect
KErrDisconnected -36 Disconnected
KErrBadLibraryEntryPoint -37 Bad library entry point
KErrBadDescriptor -38 Bad descriptor
KErrAbort -39 Interrupted
KErrTooBig -40 Too big
KErrDivideByZero -41 Divide by zero
KErrBadPower -42 Batteries too low
KErrDirFull -43 Folder full
KErrHardwareNotAvailable -44
KErrSessionClosed -45
KErrPermissionDenied -46

And here is the Link

http://www.newlc.com/Symbian-OS-Error-Codes.html

Hope it helps....

regards
KKH
 
Faraz Masood
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello ,

please make sure that

1. Server is listening on that port
2. the port is not blocked by any firewall on your system

hope this helps
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic