Discussion Board

Results 1 to 2 of 2

Thread: ESOCK panic 14

  1. #1
    Registered User cl_fragen's Avatar
    Join Date
    Mar 2003
    Posts
    25
    I wrote TCP/ IP engine using Active objects in a similar way as it was done in SDK example Echo Engine. Now, sometimes when using WriteSocket I get ""ESOCK Panic 14"". What can be the reason for this?

  2. #2
    Regular Contributor OSXDev's Avatar
    Join Date
    Mar 2003
    Posts
    157
    It can result from a too short send buffer. I was experiencing similar problems when sending large file across TCP/IP. I solved the problem by extending the buffer as follows. (Hardcoding the buffer to a big size is not maybe the optimal solution but if works...):

    // Set Send Buffer
    err = iSocket.SetOpt(KSOSendBuf,KSOLSocket,100000);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved