Results 1 to 12 of 12

Thread: network connection

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    network connection

    hello!
    this is the scenario,
    i have 3 computers the other one is the server, how would the server know if the 2 computers are not connected to it?

    tnx

  2. #2
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: network connection

    Where does c sharp come into this? Are you using tcp ip or some similar protocol? Please explain further.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: network connection

    Ping them.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: network connection

    Good client/server implementation can tell when any client connect/disconnect (by a simple callback)...

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: network connection

    i already found sample code,
    does anybody know hot use the .com or vb active x in c#.net?

    tnx

  6. #6
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Thumbs up Re: network connection

    Wanna share your sample code with us?

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: network connection

    Check codeproject.com , i think there are couple of client/server articles in C#...much better when you use pure .NET code.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: network connection

    jennifer babe...
    what sample? about network connection?
    it is written in VB6... that's why i decided to use VB6 not .net
    but if there is a sample code written in c#.net maybe i will pursue it in .net,
    do you want the code... pls confirm

  9. #9
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: network connection

    Sure why not. I love sample code that works lol. I could add it to my collection!

    Only if its c# i guess. this might be the wrong forum to post vb code, but at the same time I'm not familiar with the forum rules so I could be wrong.

    Jennifer.

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: network connection

    jennibabe,
    it is written in vb6

  11. #11
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: network connection

    Ok. But just to clear things up. What does the code do? does it use tcp ip or udp ??

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: network connection

    it uses API, it actually do as PING command does.

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