Announcement

Collapse
No announcement yet.

Tcp Handle question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scott Turchin
    replied
    I've gotten a 24 and 57 before, stack errors maybe.......(TCP/IP Stack that is)...

    The code is pretty extensive setting up the variables to send as an htmlg GET etc, I'll put more debug code in and drive on, long as i know I can do the global Handle

    Thanks Lance!


    Scott


    ------------------
    Scott
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Lance Edmonds
    replied
    No.

    Are you checking ERR and/or ERRAPI in your code to see if the TCP connection is failing or being closed unexpectedly?

    If all else fails, post some compilable code, and lets see the problem for ourselves.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Scott Turchin
    started a topic Tcp Handle question

    Tcp Handle question

    I created hTcp as Dword and made it global.....

    Now, I open the port in one function, do some stuff and go to the next function and continue to grab data....


    This works,
    Back to Function #1, go to yet ANOTHER function, grab more data, works fine the first time, after that bombs out...

    Is there any problem in a DLL with having a global TCP File handle??

    Scott

    -------------
    Scott
    mailto:[email protected][email protected]</A>
Working...
X