Shocket : C++ and Progress

Posted by Admin on 01-Dec-2009 07:24

Dear All,

    In out Project, We need to Access a Progress socket (Simple .p File create socket ready to listen and response on particular port ) from C++ window

   HOOKS.

   If I try to access the socket without hooks it works fine, But when I tried from hooks, system get hangs.

  Please  tell me, Does any problem with progress side socket or c++ ( if  any idea).

  If You need more detail information, Please ask.

Thanks

Vishwdeep

All Replies

Posted by ksv on 01-Dec-2009 07:46

Our application which is on C# wholly depends on ABL sockets and works fairly well. So I don't think that ABL sockets are somehow defective. Anyway you didn't say your PROGRESS version.

Posted by Admin on 01-Dec-2009 08:03

Thanks,

          We are using OpenEdge 10.1C .  Our Application works fine with simple C++ code but when try to access it through window Hooks,

          It gives data at first time but for next time it hangs out.

          If you any idea, Do we need to close socket or need any flushing kind of things.

      If possible can u give, any sample Code .

Vishwdeep

Posted by ksv on 01-Dec-2009 09:23

>> Do we need to close socket or need any flushing kind of things

Actually I close socket after each transmission to flush all data, so it might be the issue.

This thread is closed