Results 1 to 4 of 4

Thread: [RESOLVED] Help with TCP/IP program...Not sure what I'm doing

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    180

    Resolved [RESOLVED] Help with TCP/IP program...Not sure what I'm doing

    Hello,
    I'm having trouble with some TCP/IP work. Here's the bases of my program.

    I have an application running on a computer that needs to be operated remotely. I've already worked up the ability to have my program control the application, so that part is done. I've been able to control the application through my program remotely via RS232. However my range and band speed is VERY limited.

    My intent is to replace the slow serial port with a much fast ethernet port (via local network). I've played around a little with TCP/IP work, but with little, to no success.


    What I am looking for:
    1) I need my program at either end (server/client) to know and understand if the connection was lost and when it has returned.
    2) Send instructions across ethernet between computers.


    I've looked at some tutorials, which helped me alittle. However I cant seem to understand where to put in alterations to the sample code, to fit my needs.

    I would post what I have so far, how-ever it's merely a carbon copy of online tutorials.


    Could someone shed some light on this for me? What steps are needed to communicate 2 computers?


    (P.S. - The final setup will actually be VB.NET app talking to a Python app, but I figured I'd work both ends in a language I understand first, then once thats working, then work on the Python side of things)

  2. #2
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Help with TCP/IP program...Not sure what I'm doing

    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  3. #3
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Help with TCP/IP program...Not sure what I'm doing

    You could also have a look at the link in my signature.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    180

    Re: Help with TCP/IP program...Not sure what I'm doing

    Yeah, I forgot there was a whole section of this forum dedicated to TCP/IP work.

    I got something now, I think I understand it now. I was able to get files transfered at blazing speeds. Now it's time to work on the Python stuff.


    Thanks everyone for the help!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width