Discussion Board

Results 1 to 2 of 2

Thread: ESOCK panic 14

  1. #1
    Registered User
    Join Date
    Mar 2003

    ESOCK panic 14

    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
    Join Date
    Mar 2003

    RE: ESOCK panic 14

    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