Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

[2659] A TCP/IP socket server object for Visual Basic

Last post 05-11-2006 4:46 PM by rossduncan. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [2659] A TCP/IP socket server object for Visual Basic

    This thread is for discussions of A TCP/IP socket server object for Visual Basic.

    • Post Points: 30
  • Advertisement

    • Red Gate Software

    Advertisement

    Want to boost your .NET application performance?

    Some developers always seem to write efficient and lightening-fast code. What is their secret? It’s ANTS Profiler. “We improved the performance of the application up to 10 times” Dan Ports, Intrigma.

    Try it for yourself now.

  • 10-28-2003 4:38 AM In reply to

    • ecla
    • Not Ranked
    • Joined on 10-28-2003
    • New Member
    • Points 10

    Multiple Clients

    Does you server support multiple clients connecting simultaneously?
    • Post Points: 0
  • 02-13-2004 1:32 PM In reply to

    • Padma
    • Not Ranked
    • Joined on 02-13-2004
    • New Member
    • Points 5

    Request: Need High Throughput Winsock DataArrival

    There're several useful Winsock tutorial on this site... But its not detailing enough considerations in helping newbie extend the tutorial into actual application environment.  One of them is providing a tutorial on preventing reentrancy when working high socket traffic scenario.

    Typical Winsock application logic when data arrives...

    1.  The Winsock_DataArrival event fires when client sockets send data to the listening socket server
    2.  On Data Arrival, Inspect the data received
    3.  Process the data received (e.g.  Lookup Databases, Refresh GUI, and others)

    When multiple data stream or even large chunk of data arrive while your code is Processing "time-instensive" routines/tasks will require u to implement a FIFO buffer into your code to ensure all incoming data are captured and processed properly...  I'm pleading for the community to add this logic to existing tutorial or post some sample code.  Thanks in advance.
    • Post Points: 0
  • 05-18-2004 5:45 PM In reply to

    • oromano
    • Not Ranked
    • Joined on 05-18-2004
    • New Member
    • Points 20

    Data.ReadString is not working

    the function Data.ReadString is not working - any idea? (Data.Read is working normally...) if you type in a terminal it's ok, but if you do a batch the routine stops...
    • Post Points: 0
  • 05-19-2004 3:09 PM In reply to

    • oromano
    • Not Ranked
    • Joined on 05-18-2004
    • New Member
    • Points 20

    use as a client

    may I use this library for a client application? do you have another dll to do this (with vb6)? great job
    • Post Points: 0
  • 09-18-2005 10:17 PM In reply to

    Yes.
    • Post Points: 0
  • 09-18-2005 10:22 PM In reply to

    I'm afraid I don't have a free version of this code that includes client support.
    • Post Points: 0
  • 09-18-2005 10:25 PM In reply to

    There was a stupid precedence error in the original code, this may be related to it?

    LPOLESTR pOle = ((_lpa = (char*)m_pData) == NULL) ? NULL : ATLA2WHELPER((LPWSTR) alloca(m_length + 1*2), _lpa, m_length);

    should be

    LPOLESTR pOle = ((_lpa = (char*)m_pData) == NULL) ? NULL : ATLA2WHELPER((LPWSTR) alloca((m_length + 1)*2), _lpa, m_length);
    • Post Points: 0
  • 05-11-2006 4:46 PM In reply to

    • rossduncan
    • Not Ranked
    • Joined on 05-11-2006
    • United Kingdom
    • New Member
    • Points 5

    Re: [2659] A TCP/IP socket server object for Visual Basic

    I ran the server on one machine and the client on another and managed to get a connection and send some data. However after sending a few test messages "1234567890" I try and receive as string at the other end and it stops working. I put in extra calls in the event handlers and they don't get called. The sender thingks it has sent the data. The only way I can stop it is to open the connection again and then press send. Any ideas?

    Also when I close down the server, Windows2000 server won't let me delete the file even though it is not in the process list - is there some resource that needs closing in the code somewhere on exit?

    I am trying to get a reliable point to point comms for sending some string data.

    Ross D.







    • Post Points: 5
Page 1 of 1 (9 items)