Strange socket problem

I am trying to connect to an IRC server , and after I 've received all data , recv() crashes with a message 'XLib : unknown asyncrhonoys reply 0xXXXX'

recv is within a thread created with pthread_create , and not in the main thread ( see my other question also with thread problems - thats why I can't debug it ).

Any options ?



LVL 6
WxWAsked:
Who is Participating?
 
packratt_jkCommented:
use read instead of recv
0
 
DanRollinsCommented:
Hi WxW,
You've requested to delete this question, but its status remains as 'Pending Delete' because one or more comments have been added.  Normally, the only way to fully delete such a Question is to post a message to Community Support and ask for assistance.

EE is making a one-time database sweep to purge the Pending Delete Questions automatically.  During this sweep:

    WxW -- To allow the deletion to proceed:  Do nothing.
    EXPERTS -- Please DON'T POST a comment except to contest this deletion.

In the future, please refer to http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp#8 for instruction on deleting questions.

DanRollins -- EE database cleanup volunteer
0
 
MoondancerCommented:
Finalized by Moondancer - EE Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.