Click to See Complete Forum and Search --> : network connection
basti42
Jan 19th, 2007, 08:25 PM
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
JenniferBabe
Jan 22nd, 2007, 05:59 AM
Where does c sharp come into this? Are you using tcp ip or some similar protocol? Please explain further.
mendhak
Jan 22nd, 2007, 10:55 AM
Ping (http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx) them.
Pirate
Jan 22nd, 2007, 01:27 PM
Good client/server implementation can tell when any client connect/disconnect (by a simple callback)...
basti42
Jan 22nd, 2007, 06:46 PM
i already found sample code,
does anybody know hot use the .com or vb active x in c#.net?
tnx
JenniferBabe
Jan 23rd, 2007, 06:38 AM
Wanna share your sample code with us?
Pirate
Jan 23rd, 2007, 10:08 AM
Check codeproject.com , i think there are couple of client/server articles in C#...much better when you use pure .NET code.
basti42
Jan 23rd, 2007, 05:50 PM
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
JenniferBabe
Jan 24th, 2007, 05:51 AM
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.
basti42
Jan 24th, 2007, 05:42 PM
jennibabe,
it is written in vb6
JenniferBabe
Jan 25th, 2007, 07:54 AM
Ok. But just to clear things up. What does the code do? does it use tcp ip or udp ??
basti42
Jan 25th, 2007, 05:13 PM
it uses API, it actually do as PING command does.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.